Geoffrey Leach wrote:
On 02/18/2010 03:38:55 PM, Rick Sewill wrote:
On Thu, 2010-02-18 at 12:05 -0700, Craig White wrote:
On Thu, 2010-02-18 at 10:01 -0800, Geoffrey Leach wrote:
In /etc/crontab, I have this line: 30 * * * * /home/root/fix_mail
[SNIP]
Thanks Craig and Rick for the suggestions. AFAICT the problem is with the processing of the crontab file itself, not with the execution of the command. FWIW, when the command is executed from /etc/cron.hourly it works without a problem.
Ah, yes. The format of /etc/crontab is different from that for individual users' crontab files. You need to include the user ID:
30 * * * * root /home/root/fix_mail ^^^^