From: Mathieu A. <ma...@ma...> - 2003-12-03 15:07:22
|
+-le 03/12/2003 16:03 +0100, Mathieu Arnold =E9crivait : |=20 |=20 | +-le 03/12/2003 15:38 +0100, Thomas Arendsen Hein =E9crivait : || Hi! ||=20 || I've read the FAQ, but didn't find an answer why these two crontab || entries should behave different: ||=20 || With -wday: || 0 3 1-7 * * flexbackup -wday 7 -set all .... |=20 | That will do every Sunday between 1 and 7 |=20 || Without -wday: || 0 3 1-7 * 7 flexbackup -set all .... |=20 | This will do every Sunday and every day from 1 to 7. |=20 | So, it's not the same thing :) to add a bit of truth, here is an abstract of my crontab(5) : 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 (ie, aren't *), the command will be run when either field matches the current 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. --=20 Mathieu Arnold |