laziness, impatience, and hubris | |
PerlMonks |
Re^3: system call in crontabby Plankton (Vicar) |
on Jul 20, 2009 at 04:31 UTC ( [id://781524]=note: print w/replies, xml ) | Need Help?? |
If you cronjob exit with a non-zero value it typically sends the error message as an email to root. But since you have been getting those emails you probably want to capture the error messages to a file. You can do this my redirecting standard error to a file. Do that that add the string /tmp/error.txt 2>&1 to your cronjob entry. It would look something like this:
In Section
Seekers of Perl Wisdom
|
|