Scheduler Jobs
The Control Panel Scheduler Jobs Screen provides an overview of all currently Scheduled jobs (System Jobs and User-Defined Jobs). System Jobs are automatically scheduled by OmniVista. System Jobs cannot be edited or deleted. User-Defined Jobs are scheduled by users within OmniVista applications (e.g., using the Resource Manager application to scheduled backup job). To view specific details about a job, click on the job in the table to display job details (e.g., Start Time, End Time, Cron Description). You can also start/stop, edit , or delete a User-Defined Job. Note that you can only view System Jobs. You cannot start/stop, edit, or delete these jobs.
Starting/Stopping Scheduled Jobs
You can start/stop/pause a job by selecting the job and clicking on the applicable icon:
- Start - Register the job in the schedule and start executing immediately if its start time is in the past.
- Stop - Stop the current job. Stopped job will execute normally in the next cycle.
- Pause - Stop the current execution and save its progress state. The job also is removed from the schedule and will not be executed at next trigger. You can restart the job by selecting it and clicking on the Start icon. The job will be started job from the last state and resume the job schedule.
Viewing Scheduler Jobs
The Scheduler Jobs Table lists all schedule System and User-Defined Jobs. Click on the applicable tab at the top of the table to view a list of each type. The table provides the basic information. Click on a job to view detailed information.
Basic Information
- Name - The system-generated job name.
- Group - The system-generated job group. A job group is a logical grouping of related jobs grouped by application, framework, etc. (e.g., Analytic, Poller, VM Snooping). You can sort or search on a job group in the Scheduler Jobs Table to view related jobs.
- Status - The status of the job (e.g., Scheduled, Waiting).
Detailed Information
- Name - The system-generated job name.
- Group - The system-generated job group. A job group is a logical grouping of related jobs grouped by application, framework, etc. (e.g., Analytic, Poller, VM Snooping). You can sort or search on a job group in the Scheduler Jobs Table to view related jobs.
- Priority - The job priority. If jobs are initialized at the same time, the job with the higher priority will begin first (Range = 1 - 10).
- Actor - The system-generated behavior description for the job.
- Overlap Policy - The Overlap Policy determines the action OmniVista will take if there is a job overlap:
- Ignore When Overlap - The next run (cycle) of the job will be skipped if it is still being executed at the scheduled time.
- Replace When Overlap - The job will start fresh (restart) in the next run (cycle) if it is still being executed at the scheduled time.
- Action From Crash Policy - The Crash Policy determines the action to take if the job crashes before completion:
- Start Afresh From Crash - The job will start fresh in the next run (cycle) if it is in a failed state at the scheduled time.
- Resume From Crash - The job will resume from the failure point in the next run (cycle) if it is in a failed state at the scheduled time.
- Start Time - The configured start time for the job.
- End Time - The configured end time for the job.
- Schedule - The schedule type for the job:
- Simple - The job repeats at specific intervals.
- Interval - The repeat interval for the job (e.g., 1 Day, 1 Hour).
- Repeat - The number of times the job will repeat.
- Retry Count - The number of times the job will retry after a failure.
- Retry Interval - The duration from failure to next retry, in seconds.
- Timeout - The maximum amount of time the job will run before timing out, in seconds.
- Owner - The user who created the job (e.g., admin). User-Defined Jobs only.
- Cron - The job is a recurring Cron job.
- Cron Description - A brief description of the Cron Job.
- Retry Count - The number of times the job will retry after a failure.
- Retry Interval - The duration from failure to next retry, in seconds.
- Timeout - The maximum amount of time the job will run before timing out, in seconds.
- Owner - The user who created the job (e.g., admin). User-Defined Jobs only.
Editing a Scheduled Job
You must be an admin user to edit a scheduled job. To edit a job, select the job in the Scheduler Jobs table and click on the Edit icon. Edit the fields as described below and click on the Save button. Note that you can only edit a "Paused" or "Waiting" Scheduler job. If necessary, select the job you want to edit and click on the Pause icon. When you are done editing the job, click on the Start icon to activate the job.
- Name - The system-generated job name. This field cannot be modified.
- Group - The system-generated job group. A job group is a logical grouping of related jobs grouped by application, framework, etc. (e.g., Analytic, Poller, VM Snooping). You can sort or search on a job group in the Scheduler Jobs Table to view related jobs. This field cannot be modified.
- Priority - The job priority. If jobs are initialized at the same time, the job with the higher priority will begin first (Range = 1 - 10).
- Actor - The system-generated behavior description for the job. This field cannot be modified.
- Device Type - The type of device (All Devices, Specific Devices, Device Families). The default is "All Devices". If you select "Specific Devices", a switch picker will appear to enable you to select specific devices. If you select "Device Families", select one or more device families from the "Device Family" drop-down menu.
This field is only available for jobs requiring a device (e.g., Up/Down Poller Job, DAL Poller Job).
- Overlap Policy - Sets the Overlap Policy that determines the action to take if there is a job overlap:
- Ignore When Overlap - The next run (cycle) of the job will be skipped if it is still being executed at the scheduled time.
- Replace When Overlap - The job will start fresh (restart) in the next run (cycle) if it is still being executed at the scheduled time.
- Action From Crash Policy - Sets the Crash Policy that determines the action to take if the job crashes before completion:
- Start Afresh From Crash - The job will start fresh in the next run (cycle) if it is in a failed state at the scheduled time.
- Resume From Crash - The job will resume from the failure point in the next run (cycle) if it is in a failed state at the scheduled time.
- Start Time - Enable this option and schedule a specific start day and time for the job. You can enter the date and time in the field or use the drop-down calendar to select the day, and then edit the time in the field. Note that if the start time is before the current time, the job will start immediately.
- End Time - Enable option field and schedule a specific end day and time for the job. You can enter the date and time in the field or use the drop-down calendar to select the day, and then edit the time in the field.
- Schedule
- Simple - Select this radio button and schedule the job to repeat at specific intervals (e.g., Days, Hours, Minutes, Seconds). Enable the Repeat option to limit the number of times the interval will be repeated.
- Cron - Select this radio button to schedule the job as a recurring Cron job.
- Retry - Enable this option and configure the job retry option: Count = how many times the job will retry after a failure. Interval =
the duration from failure to next retry, in seconds.
(Count Range = 0 - 99, Interval Range = 0 - 99)
- Timeout - Enable this option and configure the maximum amount of time a job will run before timing out, in seconds (Range = 20 - 9999).
If it is disabled, a job execution could run forever.
Deleting a Scheduled Job
To delete a job, select the job in the Scheduler Jobs table and click on the Delete icon. Click OK at the confirmation prompt. The job will be deleted and will no longer run.