dox_scheduler 3.0.0
dox_scheduler: ^3.0.0 copied to clipboard
Task scheduler for the Dox framework: run functions or queue jobs on a cron schedule, once per tick across isolates and servers.
3.0.0 #
- The first stable release.
3.0.0-alpha.2 #
SchedulerProvider(was a DoxService): extend it in your app,shutdown()is optional.
3.0.0-alpha.1 #
- First version.
- Define tasks in Dart:
s.call('name', function)with frequencies (everyMinutetoyearly),cron()expressions,weekdays,weekends,days. - Time zones with
timezone('Asia/Yangon'). UTC by default. Summer time safe. - Filters:
between,when,skip. - Options:
withoutOverlapping,onOneServer(on by default),onEveryServer,runInBackground,timeout. - Hooks:
before,after,onSuccess,onFailure. SchedulerRunnerforbin/schedule.dart:work,run,list,test <name>.SchedulerServiceruns the schedule inside the Dox server.