When both day and week are set in a cron expression, the day and week are in an OR relationship. Avoid optimizing * * 5 3 1-7 into * * 5 3 *, resulting in missing week information. Also avoid optimizing * * 1-31 3 5 into * * * 3 5, resulting in missing daily information.
When both day and week are set in a cron expression, the day and week are in an OR relationship. Avoid optimizing
* * 5 3 1-7
into* * 5 3 *
, resulting in missing week information. Also avoid optimizing* * 1-31 3 5
into* * * 3 5
, resulting in missing daily information.