Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nov 11 16:50:01 eclabs /USR/SBIN/CRON[31636]: (root) CMD (/usr/bin/w3m -no-cookie http://www.spacetrace.org/secret_script.php > /dev/null 2>&1)
- * * * * * root /usr/local/sbin/mycommand.sh > /dev/null
- * * * * * root /usr/local/sbin/mycommand.sh > /dev/null 2>&1
- MAILTO=""
- * * * * * root /usr/local/sbin/mycommand.sh > /dev/null 2>&1
- MAILTO="admin@somedom.com"
- * * * * * root /usr/local/sbin/myothercommand.sh
- Nov 11 08:17:01 manny CRON[28381]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
- :msg, contains, "/usr/bin/w3m -no-cookie" /dev/null
- & stop
- kill -HUP $(cat /var/run/rsyslogd.pid)
- # Or, to log standard messages, plus jobs with exit status != 0:
- # EXTRA_OPTS='-L 5'
- #
- # For quick reference, the currently available log levels are:
- # 0 no logging (errors are logged regardless)
- # 1 log start of jobs
- # 2 log end of jobs
- # 4 log jobs with exit status != 0
- # 8 log the process identifier of child process (in all logs)
- #
- EXTRA_OPTS="-L 0"
Add Comment
Please, Sign In to add comment