Advertisement
rodrigopolo

Crontab with redirection

Aug 9th, 2012
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #--------------------------------------CRON
  2. # Mail
  3. MAILTO="email@example.com"
  4.  
  5. # Crontab with output redirection from stdout to stderr
  6. 00 0 * * * /path/to/script/scan.sh 1>&2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement