[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Cron and day of the week



> On Sun March 29 2009 06:25:41 Matus UHLAR - fantomas wrote:
> > No, I think that _all_ fields have to match an entry to be executed.
> 
> >From "man 5 crontab":

On 29.03.09 07:06, Mike Bird wrote:
>   Note: The day of a command’s execution can be specified by two fields —
>   day  of  month,  and day of week.  If both fields are restricted (i.e.,
>   aren’t *), the command will be run when either field matches  the  cur‐
>   rent time.  For example,
>   ‘‘30 4 1,15 * 5’’ would cause a command to be run at 4:30 am on the 1st
>   and 15th of each month, plus every Friday.

Oh! Now this is what I'd say "sucks". I missed this as I never used it (I
think).
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"They say when you play that M$ CD backward you can hear satanic messages."
"That's nothing. If you play it forward it will install Windows."


Reply to: