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

outdatedDart 1 only

A cron-like time-based job scheduler.

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

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');
  });
}