#task-scheduling #cron-job #persistence #one-time #tokio-task #time-based #repeatable #ensuring #async-task #restoration

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

#215 in Operating systems

Download history 1/week @ 2025-10-20 2/week @ 2025-10-27

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

~23MB
~275K SLoC