Re: [SLUG] cron not running

From: Eben King (eben01@verizon.net)
Date: Tue Nov 14 2006 - 12:38:05 EST


On Tue, 14 Nov 2006, Daniel Jarboe wrote:

>> Apparently cron's running. How do I make sure it's working though?
>>
> Typically there is some message written to /var/log/messages whenever
> crond runs a command. It also might be worth checking your maillog.

root@pc:~# grep -i cron /var/log/{messages,mail.log}
root@pc:~#

Nope.

> Do you have MAILTO= set correctly in your crontab?

No. Oddly, it's worked in the past. Even if not, mail should go to the
crontab's owner, yes?

I did find that the crontab didn't have a NL at the end (cron used some
editor that looked like mc's internal one). export EDITOR=vim and it's
fixed. I'll see tomorrow whether that was it.

-- 
The mnky gibbering and screeching used to keep me up at night, although
in the lst week or so it's prtty mch tailed off to nthng. The smell has
gttn noticbly worse in the last cple of days, too.  The next time I get
a barrl full of mnkys, I'm going to try taking the lid off. -groo, AFCA
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:25:20 EDT