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

outdated

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

example/example.dart

import 'package:cron/cron.dart';

Future<void> main() async {
  final cron = Cron()
    ..schedule(Schedule.parse('*/6 * * * * *'), () {
      print(DateTime.now());
    });
  await Future.delayed(Duration(seconds: 20));
  await cron.close();
}
479
likes
0
pub points
98%
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