Scheduler

Run recurring and one-time jobs with cron expressions, execution history, and concurrency controls.

The Bosca Scheduler lets you define recurring and one-time background jobs with standard cron expressions. It integrates with the Workflow job system and provides full execution history tracking.

What you get

  • Cron Scheduling: Define job schedules using standard cron expressions with validation.
  • Execution History: Track every job run with status, timing, errors, and execution context.
  • Concurrency Controls: Configure whether a job can run concurrently or must wait for the previous execution to finish.
  • Catch-Up Behavior: Choose whether missed executions should be caught up, with configurable limits on how many catch-up runs to allow.
  • Manual Triggering: Run any scheduled job on demand, outside its regular schedule.

How it works

Scheduled jobs reference job definitions registered in the system. Each scheduled job tracks:

  • The cron expression and whether the job is enabled
  • Last and next run times
  • Concurrency and catch-up settings
  • Job parameters as JSON

When a scheduled job fires, the scheduler creates a job history entry tracking execution from start to finish, including any errors.

Administration

The Administration UI provides controls for:

  • Viewing and managing scheduled jobs
  • Adjusting concurrency settings
  • Reviewing execution history with status filtering
  • Manually triggering jobs

For developers

Related modules:

  • Core interfaces: backend/framework/core-scheduler
  • Implementation: backend/framework/scheduler

Related: