Quote:
Originally posted by dwh
Uh, I always found cron complicated. what does 2>&1 do? And sorry, but can you explain the exact line for getting it emailed? Thanks!
|
Code:
0 0,4,8,12,16,20 * * * /home/dbforums/newnews.pl
Doing the above will email you with any output the script generates.
The redirection bit is to ensure the script output AND the cron output is redirected.