Repository navigation
Releases
Releases · dartondox/dox-scheduler
3.1.0
New
ScheduleConfig(timezone: 'Asia/Yangon')sets the default time zone of every task.environments(['production'])runs a task only for theseAPP_ENVvalues.unlessBetween(start, end)is the opposite ofbetween().- New frequencies:
everyThreeMinutes,everyTwoHours,twiceDailyAt,lastDayOfMonth,quarterly,yearlyOn,mondays()tosundays()and more. - One warning at start when
onOneServer()is used with a lock store that servers do not share.
Fixes
schedule worknow stops in a few seconds after Ctrl+C or SIGTERM. Before, it could wait up to 60 seconds.dailyAt('13')means 13:00. Before, it threw an error.- With
timeout()andwithoutOverlapping(), the lock now stays until the work ends. - When a provider's
setup()throws, the providers that already started are shut down.
Docs: Scheduler
Full list: the CHANGELOG.
3.0.0
The first stable release of dox_scheduler.
Run functions or queue jobs on a cron schedule. Each task runs once per tick, across all isolates and servers.
Docs: https://dartondox.dev/latest/digging-deeper/scheduler/