cron 0.3.1 copy "cron: ^0.3.1" to clipboard
cron: ^0.3.1 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();
}
475
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