Anacron run-parts: /etc/cron.daily/amavisd-new exited with return code 1.

Messages like the ones in the article list, originated from a cron job, could be generated on debian systems:

/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1

Some updates ago, Debian moved a cron script from /etc/cron.daily/amavisd-new to /etc/cron.d/amavisd-new without removing the old one.

To remove the error, after checking that the new cron file exists, simply delete the old /etc/cron.daily/amavisd-new.


Comments are closed.