Running a Scheduled Program
Scheduled Programs allow you to start a service on a defined schedule.
Services configured as scheduled programs are expected to execute a task and terminate as soon as that task is finished, leaving no open resources.
Configuring a Scheduled Program
To configure a scheduled program:
- Select a service and go to the Schedule tab.
- In the schedule settings, choose one of the following options for each day of the week:
- Switch Running all day or Paused all day
- Or Specific hours (define start and end times in a specified timezone)
- Click Update Scheduale seeting button
- Once the setting is saved, the service will run according to the defined schedule.
Why Isn't My Scheduled Program Running as Expected?
An important requirement of a service that runs on a schedule is that it terminates on completion and leaves no open resources. If the code that runs in your scheduled program does not exit, subsequent executions will be skipped.
If you see that a previous execution of your scheduled service has a status of Active
, the execution is still running, and any new executions will not be triggered until it completes.
For more information on service execution requirements, see the Service Execution Requirements section of the Scheduled Programs reference.
Edit this file on GitHub