Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] cron not recognizing changes to /etc/cron.d files
  • From: Scott Leighton <helphand@xxxxxxxxxxx>
  • Date: Thu, 6 Apr 2006 18:58:13 -0800
  • Message-id: <200604061958.13801.helphand@xxxxxxxxxxx>
> On Thursday 06 April 2006 7:37 pm, Patrick Shanahan wrote:
> > * Scott Leighton <helphand@xxxxxxxxxxx> [04-06-06 22:29]:
> > > The work machine doesn't seem to be recognizing changes made to
> > > cron files in /etc/cron.d, that is, a RELOAD of the changed file never
> > > happens and doesn't show in the log. I basically have to rccron restart
> > > to get the cron daemon to use the new file.
> >
> > What command are you issueing to edit cron?
>

Not sure if this is relevant or not, but I just noticed that the directory
timestamp changed on the box that works, but doesn't seem to change
on the box that doesn't work.

Box that works - note seccheck timestamp and directory timestamp match

drwxr-xr-x 2 root root 184 2006-04-06 19:44 ./
drwxr-xr-x 100 root root 9208 2006-04-02 09:05 ../
-rw------- 1 root root 89 2004-05-30 22:17 amavis_clean
-rw------- 1 root root 150 2005-12-18 20:25 amavis-stats
-rw------- 1 root root 133 2006-04-06 19:18 leafnode
-rw------- 1 root root 124 2005-07-08 22:24 parselog
-rw------- 1 root root 369 2006-04-06 19:44 seccheck


Box that doesn't work - note that last file changed, hss, timestamp and
directory timestamp do not match

drwxr-xr-x 2 root root 120 2006-04-05 17:08 ./
drwxr-xr-x 79 root root 7016 2006-04-04 06:54 ../
-rw------- 1 root root 79 2005-03-19 11:27 awstats
-rw------- 1 root root 1354 2006-04-06 10:10 hss
-rw------- 1 root root 369 2005-03-19 12:08 seccheck


Scott



--
Deus et natua non faciunt frusta
POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/
Linux 2.6.11.4-21.11-default x86_64
SuSE Linux 9.3 (x86-64)

< Previous Next >