Timeline for Are the "day of month" and "day of week" crontab fields mutually exclusive?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 3, 2020 at 20:27 | vote | accept | Mark | ||
| Aug 3, 2020 at 7:22 | answer | added | fra-san | timeline score: 8 | |
| Aug 2, 2020 at 22:48 | history | edited | Mark | CC BY-SA 4.0 | added 87 characters in body |
| Aug 2, 2020 at 22:47 | comment | added | Mark | @Gilles'SO-stopbeingevil', but is it standard well-defined useless behavior, or well-defined useless behavior specific to one flavor of cron? | |
| Aug 1, 2020 at 9:31 | review | Close votes | |||
| Aug 3, 2020 at 20:12 | |||||
| Aug 1, 2020 at 9:16 | comment | added | Gilles 'SO- stop being evil' | As it says in the passage you quoted: “Commands are executed by cron(8) when (…) at least one of the two 'day' fields ('day of month', or 'day of week') match the current time”. I don't see what else there is to add. It's not an error, it has a well-defined, and pretty much useless behavior. | |
| Aug 1, 2020 at 4:56 | comment | added | Michael Homer | The man page linked from that answer is pretty clear that they are not mutually exclusive: "Note: The day of a command's execution can be specified in the following two fields — 'day of month', and 'day of week'. If both fields are restricted (i.e., do not contain the * character), 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." | |
| Aug 1, 2020 at 3:26 | history | asked | Mark | CC BY-SA 4.0 |