unbounded joy or the musings of a sysadmin.
crond uses sh by default. that last cron script i posted, well tee is broke in sh. do this: 0 12 * * * root script.sh 2>&1 | bash -c 'tee >(/usr/bin/logger -p local6.notice -t script_tag ) >(mail -s "script output" me@here) >/dev/null'
Post a Comment
No comments:
Post a Comment