I installed yum-cron on my CentOS 7 VM, but decided I did not need it to run hourly. So I tried to rename, and later completely remove, /etc/cron.hourly/0yum-hourly
and /etc/yum/yum-cron-hourly.conf
. However, for weeks now I've been getting the following emails hourly:
/etc/cron.hourly/0yum-hourly.cron.old:
Error reading config file: /etc/yum/yum-cron-hourly.conf
Except I have guaranteed that the file /etc/cron.hourly/0yum-hourly.cron.old
no longer exists, in any form or by any name; the file has been deleted. I have restarted the crond
and yum-cron
services, yet the problem persists. Why (or perhaps more importantly, how) does cron keep insisting on running a job that no longer exists?