boot_scheduling
Task scheduling for the Boot Framework.
Features
@Scheduled(fixedRate: '5m')— periodic execution@Scheduled(fixedDelay: '10s')— delay between completions@Scheduled(cron: '0 0 * * *')— cron expressionsinitialDelay— wait before first executionparseDuration()— parse duration strings (ms, s, m, h, d)
Usage
@Singleton()
class CleanupJob {
@Scheduled(fixedRate: '5m')
Future<void> clean() async { /* ... */ }
}