Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] cron not recognizing changes to /etc/cron.d files [SOLVED]
  • From: Richard Bos <radoeka@xxxxxxxxx>
  • Date: Mon, 10 Apr 2006 20:39:08 +0200
  • Message-id: <200604102039.08734.radoeka@xxxxxxxxx>
Op maandag 10 april 2006 17:01, schreef Joachim Schrod:
> Updating it to the current time can be done with touch. What we are looking
> for is an easy method to set it to some arbitrary timestamp, in the past or
> in the future. The ctime of the file cited above is the time when the jobs
> in /etc/cron.daily are run. Some people, who don't turn their systems off,
> want these jobs to be run in the night. For that, they need to change the
> ctime of that file, let's say to 04:45 or something like that. touch won't
> work here. The only known way to do that is by typing:
>
> $ at 04:43
>
> > rm /var/spool/cron/lastrun/cron.daily
> > <EOF>
>
> (where <EOF> is typically Ctrl-D). Then that file will be (re-)created by
> the cron job that starts at 04:45. We are looking for a method that does
> the above more easily and can be explained more easily to newbies.

Have a look here:
http://susewiki.org/index.php?title=Schedule_cron_daily

--
Richard Bos
Without a home the journey is endless

< Previous Next >