Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] 9.3 cron.daily run time [SOLVED]
  • From: Richard Bos <radoeka@xxxxxxxxx>
  • Date: Sat, 7 May 2005 20:36:52 +0200
  • Message-id: <200505072036.52659.radoeka@xxxxxxxxx>
Op zaterdag 7 mei 2005 17:39, schreef Scott Leighton:
> On Saturday 07 May 2005 8:17 am, Richard Bos wrote:
> > It's already fixed for then next suse release ;)
> >
> > Change:
> > >           cron.daily)   TIME="-ctime +1  -or -ctime 1"  ;;
> > >           cron.weekly)  TIME="-ctime +7  -or -ctime 7"  ;;
> >
> > to
> >
> >           cron.daily)   TIME="-cmin  +1440 -or -cmin  1440"  ;;
> >           cron.weekly)  TIME="-cmin  +10080 -or -cmin  10080"  ;;
> >
> > > And, how do I get cron.daily back to running at a reasonable
> > > time, like 4am or 5am in the morning?
> >
> > touch "with your timestamp" /var/spool/cron/lastrun/cron.daily
>
> Thanks! That solved it. I did have to use the -t switch on touch,
> e.g.,
>
> touch -t 200505070500 cron.daily
>
> Worked like a charm.
>
> Scott

To finish off, I added a summary of this discussion to the wiki dedicated to
suse. You can find the page at:
http://www.susewiki.org/index.php?title=Schedule_cron_daily

You can come there using:
http://www.susewiki.org/index.php?title=Category:Howto or
http://www.susewiki.org/index.php?title=Category:FAQ

Please update the article if you find mistakes, and the like.

--
Richard Bos
Without a home the journey is endless


< Previous Next >