cron 0.5.0 icon indicating copy to clipboard operation
cron: ^0.5.0 copied to clipboard

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() {
  final cron = Cron();

  cron.schedule(Schedule.parse('*/3 * * * *'), () async {
    print('every three minutes');
  });

  cron.schedule(Schedule.parse('8-11 * * * *'), () async {
    print('between every 8 and 11 minutes');
  });
}
292
likes
140
pub points
96%
popularity

Publisher

verified publisher iconagilord.com

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

Homepage

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

clock

More

Packages that depend on cron