easy_cron 0.9.0 copy "easy_cron: ^0.9.0" to clipboard
easy_cron: ^0.9.0 copied to clipboard

outdated

Parse cron string to schedule and generate previous or next schedule item.

Parse cron string to schedule and generate previous or next schedule item

Parsers

UnixCronParser - implementation unix cron, see https://www.ibm.com/docs/en/db2/11.1?topic=task-unix-cron-format

Usage:


// import library
import 'package:easy_cron/easy_cron.dart';

// create parser instance
final parser = UnixCronParser();

// parse cron time to CronSchedule
final schedule = parser.parse('* * * * *');

// next time
final nextTime = schedule.next();

// previous time
final prevTime = schedule.prev();
8
likes
0
points
726
downloads

Publisher

unverified uploader

Weekly Downloads

Parse cron string to schedule and generate previous or next schedule item.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable

More

Packages that depend on easy_cron