[dokuwiki] Re: bin/indexer.php too chatty?

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

Other related posts: