v0.6.2
cron
크론과 유사한 시간 기반 작업 스케줄러입니다. 고정된 시간이나 간격으로 작업을 주기적으로 실행합니다.
600좋아요 7.7만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
Dart용 크론 유사 시간 기반 작업 스케줄러
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Run tasks periodically at fixed times or intervals.
A simple usage example:
import 'package:cron/cron.dart';
void 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');
});
}
You can easily create and parse cron format:
import 'package:cron/cron.dart';
void main() {
print(Schedule.parse('3-5 * * * *').minutes); // [3, 4, 5]
print(Schedule(hours: 12, minutes: 25, weekdays: [2, 3])
.toCronString()); // 25 12 * * 2,3
}
의존성 목록 4 개
^1.1.1^5.0.0^1.25.0^1.3.1사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗