cron:一种类似Cron的基于时间的Dart作业调度程序

时间:2021-05-09 04:42:06
【文件属性】:
文件名称:cron:一种类似Cron的基于时间的Dart作业调度程序
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-09 04:42:06
Dart 一种类似Cron的基于时间的Dart作业调度程序 以固定的时间或间隔定期运行任务。 用法 一个简单的用法示例: import 'package:cron/cron.dart'; main() { final cron = Cron(); cron.schedule(Schedule.parse('*/3 * * * *'), () async { print('every three minutes'); }); cron.schedule(Schedule.parse('8-11 * * * *'), () async { print('between every 8 and 11 minutes'); }); } 链接 贡献者:
【文件预览】:
cron-master
----pubspec.yaml(271B)
----lib()
--------src()
--------cron.dart(6KB)
----example()
--------example.dart(245B)
----LICENSE(1KB)
----test()
--------parser_test.dart(1KB)
----README.md(603B)
----analysis_options.yaml(1KB)
----.gitignore(329B)
----CHANGELOG.md(563B)

网友评论