Hire me if you like: blake.irvin@gmail.com

Friday, March 06, 2009

Mailing cronjob Output

I use something like this in my crontab:


35 17 * * * (/path/to/command) 2>&1 | mailx -s 'echo test' -r `hostname` user@domain.com

No comments:

Archive