cron 0.2.2 copy "cron: ^0.2.2" to clipboard
cron: ^0.2.2 copied to clipboard

outdated

A time-based job scheduler similar to cron. Run tasks periodically at fixed times or intervals.

A cron-like time-based job scheduler for Dart #

Run tasks periodically at fixed times or intervals.

Usage #

A simple usage example:

import 'package:cron/cron.dart';

main() {
  var cron = new Cron();
  cron.schedule(new Schedule.parse('*/3 * * * *'), () async {
    print('every three minutes');
  });
  cron.schedule(new Schedule.parse('8-11 * * * *'), () async {
    print('between every 8 and 11 minutes');
  });
}
468
likes
0
pub points
97%
popularity

Publisher

verified publisheragilord.com

A time-based job scheduler similar to cron. Run tasks periodically at fixed times or intervals.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on cron