|
If you direct (as most people do) the stderr and stdout to /dev/null in the crontab file, remove this, then check your mail to see what, if any error you receive.
zum Beispiel:
0 0 * * * myJob > /dev/null 2>&1
(remove the "> /dev/null 2>&1" part)
i.e. standard ourput and standard error goes to the mailbox of the owner of the job (unless you throw it away to /dev/null). This is usually a good place to look for why the job did not finish as you expected.
---
by "check your mail" I mean (logged in as the user who starts the job) run "mail". You should see something like "cronjob .... produced the following output" (or some such)
Last edited by scottn; 07-02-2009 at 07:52 PM..
|