Contact our honeypot department if you are desperate to get blacklisted.

Monday, February 21, 2011

Log cron output to syslog

# 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

Tuesday, February 1, 2011

Hard = wrong

sometimes, when things seem harder than they should be, it's because I'm doing it wrong.