[arch-general] New cron hourly messages as of 8/1 - Usage: /usr/sbin/run-cron crondir ??

David C. Rankin drankinatty at suddenlinkmail.com
Tue Aug 2 10:44:54 EDT 2011


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.


More information about the arch-general mailing list