Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] 9.3 cron.daily run time [SOLVED]
  • From: Scott Leighton <helphand@xxxxxxxxxxx>
  • Date: Sat, 7 May 2005 08:39:38 -0700
  • Message-id: <200505070839.38835.helphand@xxxxxxxxxxx>
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


--
POPFile, the OpenSource EMail Classifier
http://popfile.sourceforge.net/
Linux 2.6.11.4-20a-default x86_64

< Previous Next >