Skip to content

Scheduled jobs

A scheduled job is a job that is executed periodically. It is used to execute a task periodically. (e.g reporting, data synchronization, etc.)

INFO

Scheduled jobs have no owner user. They are executed by the system.

Definition

Scheduled job definition

AttributeDescription
Job idThe id of the job. It is used to identify the job.
EnabledIf the job is enabled, it will be executed periodically.
Scheduler entryThe expression that defines when the job is executed.
ActivityThe activity that is executed by the job.
Request bodyThe request body of the activity.

WARNING

By default, the scheduler run the tasks in the timezone of the process environment (UTC if it's the standard container).
But this can be changed by setting the APIO_TIMEZONE environment variable (ref. timezones).
Then, you should consider the timezone when you define the scheduler entry.