Uncle Meat wrote:
> On 22-Aug-2000 [EMAIL PROTECTED] spoke something to the effect:
> >
> > If I change the command to
> >
> > /30 1 * * * root run-parts
> > /etc/run.hourly
> >
> > Then this command will every half hour right ?
>
> You intuition about the format is right. The "/30" is wrong. Plus, by
> stating the hour, you force it to run only in that hour. Here's what you'd
> want:
>
> 30 * * * * root run-parts <and so forth>
>
> See 'man 5 crontab' for more info.
>
>From man 5 crontab:
Step values can be used in conjunction with ranges. Fol
lowing a range with ``/<number>'' specifies skips of the
number's value through the range. For example, ``0-23/2''
can be used in the hours field to specify command execu
tion every other hour (the alternative in the V7 standard
is ``0,2,4,6,8,10,12,14,16,18,20,22''). Steps are also
permitted after an asterisk, so if you want to say ``every
two hours'', just use ``*/2''.
Perhaps overkill for the half hour but how bout for every 15 minutes
Now you would want to use */15 I think.
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list