Cron ignoring an update to crontab

Posted by GJ on Super User See other posts from Super User or by GJ
Published on 2011-02-19T13:26:24Z Indexed on 2011/02/19 15:27 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I've commented out a line in the crontab on a debian server, which I guess was there by default yet was causing me to get error emails every hour:

# m h dom mon dow user  command
17 *   * * *   root    cd / && run-parts --report /etc/cron.hourly

However, the error emails keep coming in as if it hasn't been commented out. The error emails:

Subject: Cron <root@(none)> root    cd / && run-parts --report /etc/cron.hourly (failed)
/bin/sh: root: not found

Any ideas?

© Super User or respective owner

Related posts about linux

Related posts about debian