At 10:18 PM 1/20/2003 +0100, Steve Hasz wrote:

# Run the phpadsnew for travel-to-honduras.com hourly
0 * * * * /usr/local/bin/wget -t 1 -T 60
http://www.travel-to-honduras.com/adsadmin/maintenance/maintenance.php -O
/dev/null



Instead of the -O in the last line, I've also tried > and >> with no better
results.  The email I get is:
Good evening, Steve.

Off the top of my head I don't know the wget switches such as -O ... however, in GENERAL terms, if you have a program that sends messages to stdout and also sends error messages to stderr, you have to say something like...

foo > /dev/null 2> /dev/null

The first "> /dev/null" gets rid of regular messages, and the "2> /dev/null" dumps error messages.

Hope this helps...

Eric


Reply via email to