simple_scheduler

Job Scheduling for Eiffel

v1.0.0 MIT

Overview

simple_scheduler provides job scheduling for Eiffel applications including cron expressions, delayed tasks, recurring jobs, and persistent schedules.

Part of the Simple Eiffel ecosystem.

Quick Start

local
    scheduler: SIMPLE_SCHEDULER
    job: SIMPLE_JOB
do
    create scheduler.make
    create job.make_cron ("0 */5 * * *", agent do_backup)
    scheduler.schedule (job)
    scheduler.start
end

Features

Cron Expressions

Standard cron syntax for scheduling recurring jobs

Delayed Tasks

Execute tasks after a specified delay

Recurring Jobs

Interval-based job execution with configurable frequency

Persistent Schedules

Job schedules survive application restarts

Installation

# Set environment variable
export SIMPLE_EIFFEL=/d/prod

# Add to ECF
<library name="simple_scheduler" location="$SIMPLE_EIFFEL/simple_scheduler/simple_scheduler.ecf"/>