Open RockScience opened 8 years ago
We've implemented Cron support along with a few other changes in our fork at Yelp/chronos but it'll be difficult to merge as is with the recent changes made to the core scheduler - @brndnmtthws would you be keen on getting this merged if we work together on bringing the fork in line?
@Rob-Johnson I think that would be absolutely fantastic!
+1
+1, ASAP, please :-)
As an update, after the large set of changes for Chronos 3, we did not spend the time to refactor the cron changes in our fork. Additionally, we are no longer using Chronos at Yelp, so I'll be archiving the Yelp fork.
The documentation says "Chronos has a number of advantages over regular cron. It allows you to schedule your jobs using ISO8601 repeating interval notation, which enables more flexibility in job scheduling."
However the ISO8601 interval notation is far from being flexible. (or its usage should be extended/improved)
Exemples: 1) schedule a script MON to FRI, at 4pm and 7pm 2) schedule a script every 10 minutes between 10am and 11am, and every one hour between noon and 5pm
For a true 'flexible' schedule methods, you can check for instance https://quartz-scheduler.org/generated/2.2.1/html/qs-all/#page/Quartz_Scheduler_Documentation_Set%2Fco-abt_quartz_features.html%23