[dokuwiki] Re: bin/indexer.php too chatty?
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 12 Sep 2007 17:01:44 +0200
Gabriel Birke writes:
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?
Tell your administrator about >/dev/null 2>&1 ;-)
But your patch is a nice addition anyway so I will add it.
Oh just another thing: running bin/indexer.php as a cronjob shouldn't be
needed at all. You know that, right?
Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] AW: Re: bin/indexer.php too chatty?
- From: Gabriel Birke
- 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?
- [dokuwiki] AW: Re: bin/indexer.php too chatty?
- From: Gabriel Birke
- [dokuwiki] bin/indexer.php too chatty?
- From: Gabriel Birke