Schedule jobs
A job is a test that runs at a specified schedule. You can schedule a job to run at a designated time and/or with a recurrence pattern of hourly, daily, weekly, and so on. You can also configure a job to send an email or SMS for each successful, aborted, or unsuccessful job execution.
Each user can maintain up to 20 scheduled executions.
The Scheduled Jobs view displays a list of all jobs currently scheduled to run. The list appears in a tabular format and shows individual job details like the name of the job, owner of the job, job enablement status, recurrence, last run, next scheduled run, and notification status.
In the Scheduled Jobs view, you can view, add, edit, and delete scheduled jobs. You can also enable or disable a job schedule. To search for a specific job schedule, you can use the available search box.
For information about the status of a job, hover over the icon next to the last run. If you click the last run of a job, the Report Library opens.
To learn how to create a job and how to view, modify, enable, disable, and delete scheduled jobs, review the following information.
Watch this short video to see how to add jobs and manage scheduled jobs. To view detailed steps, expand the relevant procedure following the video.
When adding a job, you can configure runtime values, select a device, and configure a schedule to run a job.
-
Near the Perfecto logo, on the top toolbar, click Scheduler and select Schedule new job.
-
Click Add.
-
In the Configure test dialog box, in the left pane, expand the folders and double-click a test or select the desired test and click SELECT.
A list of variables is displayed in the right pane. You can configure these variables if required. A warning icon appears when a variable does not have a specified value.
-
Click APPLY.
-
-
To receive job-related notifications, on the right, under Allow Notifications, do the following:
-
Turn on the By email or By SMS toggle, or both.
To be able to receive SMS notifications, the respective user must have an associated mobile number. If this is not the case, contact your Perfecto administrator. For details, see Manage users.
-
For each option, select the relevant checkboxes depending on your preferences. You can receive notifications when a job run fails, is aborted, and is successful.
-
-
Under Recurrence, do the following:
-
Select the interval for the job execution (Once, Minutes, Hourly, Daily, or Weekly).
If you want to fine-tune your execution schedule, click Advanced to add a Cron expression. Cron expressions are helpful when you need to specify scheduling that cannot be defined using the other recurrence options. To create Cron expressions, you can use the Cron Expression Generator & Explainer.
The Cron expression is reset every round hour/day. For example, if a schedule is executed every 20 minutes starting 10 minutes after the top of the hour, in the first hour the script will run at x:30, x:50, and in the next hour it will run at x:30, x:50 again.
-
Select the start date and time for the job.
-
For the end date and time, select any one of the following options:
-
The end date and time
-
The number of executions
-
No end date
-
-
-
Click CREATE.
-
Near the Perfecto logo, on the top toolbar, click Scheduler and select View all scheduled jobs.
In this view, you can select individual rows by selecting the checkbox to the left of a row or select all rows by selecting the checkbox next to the header row. Then, you can perform the available actions.
-
To sort the data of individual columns, click the column header.
-
In the Scheduled Jobs view, select the job you want to edit.
-
On the top toolbar, click Edit job.
-
Make the desired changes and click SAVE.
-
In the Scheduled Jobs view, select one or more jobs you want to delete.
-
On the top toolbar, click Delete.
-
In the Scheduled Jobs view, select one or more jobs you want to enable or disable.
-
On the top toolbar, click Enable or Disable.