dartian_scheduler 1.0.0 copy "dartian_scheduler: ^1.0.0" to clipboard
dartian_scheduler: ^1.0.0 copied to clipboard

Task scheduling for Dartian with cron expressions and timezone support

dartian_scheduler #

Task scheduling for Dartian with cron expressions and timezone support.

Features #

  • Cron expression support
  • Fluent scheduling API
  • Integration with job queues
  • Timezone support
  • Overlap prevention

Installation #

dependencies:
  dartian_scheduler: ^1.0.0

Usage #

import 'package:dartian_scheduler/dartian_scheduler.dart';

// Create scheduler
final scheduler = Scheduler();

// Schedule tasks with fluent API
scheduler.call(() => print('Hello!')).everyMinute();

scheduler.call(cleanupTask).hourly();

scheduler.call(backupTask).dailyAt('03:00');

scheduler.call(reportTask).weekly();

// Schedule with cron expression
scheduler.cron('0 0 * * 1', () => print('Every Monday'));

// Start scheduler
await scheduler.start();

Part of Dartian #

This package is part of the Dartian framework.

License #

AGPL-3.0 - See LICENSE for details.

0
likes
140
points
15
downloads

Publisher

verified publisherdartian.org

Weekly Downloads

Task scheduling for Dartian with cron expressions and timezone support

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#scheduler #cron #tasks #background

Documentation

API reference

License

unknown (license)

Dependencies

dartian_core, dartian_queue

More

Packages that depend on dartian_scheduler