Scheduled jobs
Scheduled jobs are a way of generating a report or record and automatically running a script. Creating a report or record is a configuration and does not require scripting. What we are interested in for scheduled jobs is the ability to automatically run a script.
A scheduled job is a helpful way to run a script at a time of your choosing. This can be an overnight job or a script that can run frequently, say, every hour. In my experience, running script out of hours is one of the main benefits and uses of a scheduled job. Common uses are preparing data for users first thing in the morning, or to remove old data.
When creating a scheduled job, we set the frequency of the scheduled job by using the run
field. The different time options in this field give the developer different fields to fill in to schedule the script execution appropriately. If the On Demand
option is picked, the script will only run if the Execute Now
button is pressed.
In addition to the schedule, we can also...