Scheduler places jobs into the execution queue at scheduled date and time. Job is an invocation of a custom Server action block. It can be set to execute once or to be repeated at regular time intervals.
▼ Run a code block every 12 hours
You can schedule a server block to be run periodically. To do so, you need two things: server action and item instance .
To add a block to a scheduler , from the data type details page, open block info and click “Add to scheduler” .
Then you need to select a seed instance of the type and specify the Cron expression .
Then you can find your job on the Scheduler page:
▼ Delete a scheduled job
On the Scheduler page, click on the three dots near the item you need. Click delete .
Confirm the delete operation:
▼ Change Cron Expression
On the Scheduler page, click on the item you want to edit. Only the field with a Cron Expression can be changed.
Note: don’t forget to save the editor as you are done.
▼ What are Cron Expressions?
A cron expression is a string consisting of six or seven subexpressions (fields) that describe individual details of the schedule.
For example, the following string ”0 15 10 * * ?” means that the block will run at 10:15 AM every day.
Read more about Cron Expressions here .
▼ Why cannot I schedule a client job?
Scheduler places jobs onto server execution queue. Since client actions do not relate to the server runtime, they cannot be scheduled.
▼ Can I execute scheduler jobs from Builder?
No. Scheduler jobs are run only in application and can not be executed in App Builder.