[Nottingham] Perl (...) -> Backup and sendmail problems
Johannes Kling
jok at printk.net
Fri Sep 10 10:06:49 BST 2004
Hello,
> Sep 1 02:54:00 **** CROND[28109]: (root) CMD (/etc/backup.cron)
> Sep 1 02:54:00 **** CROND[28108]: (root) MAIL (mailed 80 bytes of output but got status 0x0047 )
Cron will send you a mail if one of its jobs doesn't exit properly
(or, I believe, when it produces output to STDERR). This is exactly
what the log shows.
> /usr/bin/run-parts: /etc/cron.hourly/backup.cron: /bin/sh: bad
> interpreter: No such file or directory
> Any ideas? Is it something blindingly obvious and I'm being incredibly
> stupid?
There is a /bin/sh, and it's executable, right? Is there a #! line in
your backup.cron?
Regards,
Johannes
More information about the Nottingham
mailing list