Scheduled Job wrong scheduling
Collapse
X
-
Hi,
We use cron-expression library that determines when to run a job the next time. https://github.com/espocrm/espocrm/b...essor.php#L148
Better specify exact days using comma. Your expression is ambiguous.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks. -
I'm not really good at reading code about the included versions. So you include versions of cron-expression starting with 3.0`?
Latest version is 3.3.3
Change log has some fixes regarding time and time zones.
Comment
-
Why just not using "0 10 * * 1,3,5" notation, to prevent ambiguously between days of week, and 2-day interval. There are 7 days per week, 7 is not even number.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Note that the label does not give 100% guarantee that it will work exactly as it says. These are handled by different libs, backend and frontend.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Commend from the discussion on the cron-expression repository:
"The important thing to note (which isn't readily apparent) is that Day of Week and Day of Month combine their results when both are specified, which is how the original C implementation is designed. ... So the important thing to note in the translation is the and on Monday ... so you will run every day of 1-7 of the month, and all Mondays. This trips up a lot of people."If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
Comment