boot_scheduling 0.2.0+1 copy "boot_scheduling: ^0.2.0+1" to clipboard
boot_scheduling: ^0.2.0+1 copied to clipboard

Task scheduling for Boot (@Scheduled).

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 expressions
  • initialDelay — wait before first execution
  • parseDuration() — parse duration strings (ms, s, m, h, d)

Usage #

@Singleton()
class CleanupJob {
  @Scheduled(fixedRate: '5m')
  Future<void> clean() async { /* ... */ }
}
0
likes
140
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Task scheduling for Boot (@Scheduled).

Repository (GitHub)
View/report issues

Topics

#boot #scheduling #cron #tasks

License

MIT (license)

Dependencies

boot_core

More

Packages that depend on boot_scheduling