jobs/README.md
Erik Nordstrøm 4ab7c2c840 Add README.
2025-02-23 00:06:43 +01:00

1.5 KiB

jobs

Testing different job scheduling and job parsing crates.

apalis

PostgreSQL

Create database.

createdb foobar

Run sample program.

DATABASE_URL="postgres://${USER}:passwordifany@localhost/foobar" cargo run --release --bin using-crate-apalis-postgres

SQLite

Run sample program.

cargo run --release --bin using-crate-apalis-sqlite

Clokwerk

Run sample program.

cargo run --release --bin using-crate-clokwerk

Cron

Run sample program.

cargo run --release --bin using-crate-cron

Cron_job

Run sample program.

cargo run --release --bin using-crate-cron_job

Cron_tab

Run sample programs.

cargo run --release --bin using-crate-cron_tab-sync
cargo run --release --bin using-crate-cron_tab-async

Croner

Run sample program.

cargo run --release --bin using-crate-croner

Delay_timer

Run sample programs.

cargo run --release --bin using-crate-delay_timer-internal
cargo run --release --bin using-crate-delay_timer-in-async-context

English-to-cron

Run sample program.

cargo run --release --bin using-crate-english-to-cron

Tokio-cron-scheduler

Run sample programs.

cargo run --release --bin using-crate-tokio-cron-scheduler-simple_job_tokio_in_a_thread
cargo run --release --bin using-crate-tokio-cron-scheduler-simple_job
cargo run --release --bin using-crate-tokio-cron-scheduler-postgres_job