Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [09-2007 Date Index] [Date Next] || [Thread Prev] [09-2007 Thread Index] [Thread Next]

[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




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.