On Tue, 12 Mar 2002 11:30:26 Chris Allen wrote:
On Tue, Mar 12, 2002 at 10:29:43AM +0000, Jenny_Hopkins@toby-churchill.com wrote:
Interesting! There is a series of log files started called panic,
which
list a panic because exim.conf file can't be opened, each time at
exactly
when my backup is set to run.
It could well be that this is cancelling the entire cron job including your backup.
This is very likely.
The other crons I have seen re-direct the output of a cron job to a temporary file and then mail the file at the end.
The Linux cron seems to be different in that it runs the cron job with stdout and stderr pointing to a pipe. If the process reading the pipe closes it (this includes quitting) then the commands in the cron job will get a SIGPIPE signal when they try to write output to stdout or stderr. Unless the processes concerned have trapped or ignored this signal then it will kill them.
Steve.