[arch-general] New cron hourly messages as of 8/1 - Usage: /usr/sbin/run-cron crondir ??
Guys, Beginning 8/1 at 01:59, I began getting emails regarding "cron for user root job sys-hourly" that contain: Usage: /usr/sbin/run-cron crondir Looking at the logs, I haven't had any cron updates since: [2011-05-04 14:34] upgraded dcron (4.4-2 -> 4.5-2) The cron log shows the system is just mailing the hourly output like it should: Aug 1 23:06:01 phoenix crond[797]: FILE /var/spool/cron/root USER root PID 24811 job sys-hourly Aug 1 23:06:01 phoenix crond[797]: exit status 1 from user root job sys-hourly Aug 1 23:06:01 phoenix crond[24812]: mailing cron output for user root job sys-hourly But for some reason it is now telling me that it gets an exit status of 1 from the fetchmail script that calls spamassassin (which is normal): "fetchmail: normal termination, status 1" Which I confirmed with: 09:34 phoenix:~> spam-cron 09:39 phoenix:~> echo $? 1 The script is a very minimal fetchmail script: #!/bin/bash ## Retrieve and Process Spam & Ham from 'spam-learn' & 'spam-unlearn' folders /usr/bin/fetchmail -a -s -n --folder spam-learn -m '/usr/bin/vendor_perl/sa-learn --spam' &>/dev/null sleep 2 /usr/bin/fetchmail -a -s -n --folder spam-unlearn -m '/usr/bin/vendor_perl/sa-learn --ham' &>/dev/null I didn't make any changes to cron or the fetchmail script to generate the hourly message. The script still runs exactly like it always has, but now I'm getting messages from cron each hour. Anybody know what changed to cause this or how to stop the hourly notifications? The only thing in the pacman.log that looks possibly relevant is: [2011-08-01 22:32] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew [2011-08-01 22:32] VERBOSE= in rc.conf no longer has any effect. [2011-08-01 22:32] Please append 'quiet' to your kernel command line. but I have appended quite to the kernel line in menu.lst, and that hasn't solved it. What say the gurus? -- David C. Rankin, J.D.,P.E.
On Tue, Aug 02, 2011 at 09:44:54AM -0500, David C. Rankin wrote:
Guys,
Beginning 8/1 at 01:59, I began getting emails regarding "cron for user root job sys-hourly" that contain:
Usage: /usr/sbin/run-cron crondir
mkdir /etc/cron.hourly Regards -- Milos Negovanovic milos.negovanovic@gmail.com
On Tue, Aug 2, 2011 at 4:55 PM, Milos Negovanovic <milos.negovanovic@gmail.com> wrote:
On Tue, Aug 02, 2011 at 09:44:54AM -0500, David C. Rankin wrote:
Guys,
Beginning 8/1 at 01:59, I began getting emails regarding "cron for user root job sys-hourly" that contain:
Usage: /usr/sbin/run-cron crondir
mkdir /etc/cron.hourly
This was caused by initscripts removing it's hwclock script from /etc/cron.hourly, and a bug in pacman then deleting the empty dir. AFAIK, it will be fixed in pacman 4.0. -t
participants (3)
-
David C. Rankin
-
Milos Negovanovic
-
Tom Gundersen