#task #persistent #task-scheduling #task-manager #job-scheduler #persistent-scheduler

persistent-scheduler

A high-performance task scheduling system developed in Rust using Tokio. This system supports task persistence, repeatable tasks, Cron-based scheduling, and one-time tasks, ensuring reliability and flexibility for managing time-based operations in various applications.

17 releases (4 breaking)

0.5.3 Mar 15, 2025
0.4.1 Mar 14, 2025
0.2.1 Dec 1, 2024
0.2.0 Nov 24, 2024

#528 in Concurrency

Download history 56/week @ 2025-02-05 63/week @ 2025-02-12 19/week @ 2025-02-19 24/week @ 2025-02-26 736/week @ 2025-03-12 9/week @ 2025-03-19

936 downloads per month

Custom license

105KB
2K SLoC

Rust Persistent Task Scheduling System

Overview

A high-performance task scheduling system developed in Rust using Tokio. This system supports task persistence, repeatable tasks, Cron-based scheduling, and one-time tasks, ensuring reliability and flexibility for managing time-based operations in various applications.

Features

  • Task Persistence: All task information and states are stored persistently, allowing for quick restoration after process restarts.
  • Repeatable Tasks: Define tasks that execute at specified intervals.
  • Cron Jobs: Schedule tasks using Cron syntax for precise timing control.
  • One-Time Tasks: Support for tasks that need to be executed only once.
  • Asynchronous Execution: Built on Tokio for efficient asynchronous task management.

Example

  1. Basic Example
  2. NativeDB Example
  3. Periodic Example

License

The MIT License

Dependencies

~6–15MB
~172K SLoC