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