Skip to main content

Module cron

Module cron 

Source

Structs§

CronJob
Cron job
RepeatConfig
Repeat configuration
Schedule
Schedule definition

Enums§

ScheduleKind
Schedule kind

Functions§

compute_next_run
Compute next run time based on schedule
create_job
Create a new cron job
cron_dir
Cron jobs storage directory
cron_jobs_path
Cron jobs file path
cron_output_dir
Cron job output directory
ensure_dirs
Ensure cron directories exist
get_due_jobs
Get all jobs that are due to run now
get_job
Get a job by ID
list_jobs
List all jobs
load_jobs
Load all jobs from storage
parse_duration
Parse duration string into minutes
parse_schedule
Parse schedule string
pause_job
Pause a job
remove_job
Remove a job by ID
resume_job
Resume a paused job
save_jobs
Save all jobs to storage