[dokuwiki] Re: bin/indexer.php too chatty?
- From: Myron Turner <turnermm02@xxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 12 Sep 2007 10:20:08 -0500
All he has to do is send the output of both STDERR and STDOUT to oblivion:
/bin/indexer.php > /dev/null 2&>1
If you want to preserve the error messages, if those go to STDERR, then
leave off the 2&>1
Myron
Gabriel Birke wrote:
Hello,
when I went to our server administrator to set up bin/indexer.php as a cron
job he told me that commands running as cron jobs aren't supposed to output
anything except error messages. Attached to this mail you will find a patch
that adds a "-q" (quiet) command line option that suppresses all regular
output from indexer.php
What do you think?
BTW there is a small bug in the long option handling of indexer.php, see
FS#1249 (http://bugs.splitbrain.org/index.php?do=details&task_id=1249 )
Greetings,
Gabriel
--
_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] bin/indexer.php too chatty?
- From: Gabriel Birke
Other related posts:
- » [dokuwiki] bin/indexer.php too chatty?
- » [dokuwiki] Re: bin/indexer.php too chatty?
- » [dokuwiki] Re: bin/indexer.php too chatty?
Hello, when I went to our server administrator to set up bin/indexer.php as a cron job he told me that commands running as cron jobs aren't supposed to output anything except error messages. Attached to this mail you will find a patch that adds a "-q" (quiet) command line option that suppresses all regular output from indexer.php What do you think? BTW there is a small bug in the long option handling of indexer.php, see FS#1249 (http://bugs.splitbrain.org/index.php?do=details&task_id=1249 ) Greetings, Gabriel
- [dokuwiki] bin/indexer.php too chatty?
- From: Gabriel Birke