[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":

  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.

--Mike Bird

Reply to: