[lug] cron won't quit a job

rm at mamma.varadinet.de rm at mamma.varadinet.de
Fri Mar 23 18:34:51 MST 2001


On Fri, Mar 23, 2001 at 05:35:41PM -0700, John Starkey wrote:

[...]

> So anyway. It looks like eveything is fine. But I got rid of the mailto and
> it's still mailing to? I did a -HUP on cron's PID and it didn't kill it (the
> MAILTO). I restarted it completely and it didn't kill it. I just did a kernel
> compile and after the reboot it's still there. I checked crontab -e and
> /etc/cron.* for anything and there are no more entries anywhere. Is there
> something else I may need to do to reload the crontabs?

Ah, the MAILTO is only meant to send mail to someone other than
the owner of the cron process. So, either you change it to something
less anoying (MAILTO bill.gates at miscrosoft.com :-) or you redirect
the output of the cron entry to the big void:

0-55/5 *	* * *	root	if [ -x /usr/bin/glurp ]; \
 then /usr/bin/glurp /etc/glurp.cfg; fi > /dev/null 2>&1

this being one long line in the crontab.


 Ralf



More information about the LUG mailing list