# With this method, script output is logged to syslog, but errors go to mail
* * * * * root /root/bin/cron-test 2>&1 >> /var/log/messages
# this sends both to syslog
* * * * * root /root/bin/cron-test >> /var/log/messages 2>&1
Monday, February 21, 2011
Tuesday, February 1, 2011
Hard = wrong
sometimes, when things seem harder than they should be, it's because I'm doing it wrong.
Subscribe to:
Posts (Atom)