Date: Thu, 2 Sep 2010 22:51:57 +0100 From: Chris Rees <utisoft@gmail.com> To: patrick <gibblertron@gmail.com> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: 8.1: Cron ignoring crontab updates Message-ID: <AANLkTin0_9g_ngjPbPc69uUmUMU82HerbB5BORCckWkt@mail.gmail.com> In-Reply-To: <AANLkTing=YCBQWYanuKa1NHBcBoCX6Fhyg=zGA%2BebtvA@mail.gmail.com> References: <AANLkTing=YCBQWYanuKa1NHBcBoCX6Fhyg=zGA%2BebtvA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You have to SIGHUP cron, not restart it. # killall -HUP cron Chris -------- Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 2 Sep 2010 21:11, "patrick" <gibblertron@gmail.com> wrote: I recently upgraded a FreeBSD 7.0 system to 8.1-RELEASE (via freebsd-update) and am experiencing the strangest cron problem I have ever seen. My cron jobs run, but if I make any changes to my crontab, cron does not pick them up; it continues to operate based on the snapshot of crontabs it loaded when cron was started up. If I restart cron (/etc/rc.d/cron restart), the changes are then picked up, but again, any subsequent changes are ignored. I don't see any issues with the permissions, and when I edit a crontab, it says "crontab: installing new crontab", and the /var/log/cron log shows BEGIN EDIT, REPLACE, and END EDIT. I'm somewhat at a loss to figure out where the disconnect is, and it's impractical for me to have to restart cron any time any user updates their crontab. Has anyone come across this? Patrick _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin0_9g_ngjPbPc69uUmUMU82HerbB5BORCckWkt>