Create a Job

Overview


Creating a job allows users to schedule when workflows will execute.

View of the Jobs tab

Job Editor/Creator

Before You Begin

Make sure the account is entitled to schedule the workflow and the "Create Job" popup is on the screen.

About the Task

This allows users to create a schedule for when workflows will run on the system. Workflows can be run at any interval and at any time.

Scheduling a Job

Scheduling jobs can be done using cron syntax which makes use of the following special characters:

Character

Meaning

*

any value

,

value list separator

-

range of values

/

step values

There are four separate fields that can be used when scheduling a job: seconds, minutes, hours, and day of the month. Each field enables users to completely customize the way in which they schedule jobs. Each parameter has unique characteristics:

Parameter

Accepted Values

Usage

Example

Explanation

Seconds

0-59

This is used to specify the second(s) in the timeframe during which you want to run a particular job.

This will run the job on the 5th second of every minute.

This job will run every 5th second 
(as denoted by the '5' placed in the 'Seconds' field) of every minute (as denoted by the '*' placed in the 'Minutes' field) of every hour (as denoted by the '*' placed in the 'Hours' field) on every day of the month (as denoted by the '*' placed in the 'Day of the Month field').

Minutes

0-59

This is used to specify the minute(s) in the timeframe during which you want to run a particular job.

This will run the job every 5 minutes.

This job will run at the start of every 5 minutes (as denoted by the '0' placed in the 'Seconds' field and the */5 placed in the 'Minutes' field) of every hour (as denoted by the '*' placed in the 'Hours' field) on every day of the month (as denoted by the '*' placed in the 'Day of the Month field').

Hours

0-23

This is used to specify the hour(s) in the timeframe during which you want to run a particular job.

This will run the job every hour.

This job will run at the start of every hour (as denoted by the '0' placed in the 'Seconds' field, the '0' placed in the 'Minutes' field, and the '*' placed in the hours field) of every day of the month (as denoted by the '*' placed in the 'Day of the Month' field).

Day of Month

0-31

This is used to specify the day(s) of the month in the timeframe during which you want to run a particular job.

This will run the job every 1st of the month.

This job will run at the start (as denoted by the '0' placed in the 'Seconds', 'Minutes', and 'Hours' fields) of the 1st of every month.

Under this input, you will see a selector for the day or month for which to run the job. If these are left blank, it implies every weekday or every month, respectively.

Procedure

  1. Give the job a name in the "Name" field. 

  2. Select the "Flow" associated with this job (the one to be scheduled) from the dropdown of workflows. 

  3. Select a Worker group.

  4. Optionally give the job a "Description".

  5. Configure the job's timing. Fill in the fields for "Seconds", "Minutes", "Hours", and "Day of Month"  for when the workflow should run (see the above section).

  6. Choose whether to use default parameters or not.

  7. Enable the job by toggling the "Enabled" option.

  8. Click the "Save" button and the application will return to the list of jobs.