Job at | delay | enable | disable

Set schedule jobs using the options and set the count for the number of times the job is repeated.

Syntax


job JOB NAME at | delay | enable | disable

Description

Schedule a command to run automatically. Jobs can be scheduled to run once, multiple times on a recurring basis, or after certain events such as reboots. All commands run with manager privilege in configuration context.

The no form of the command deletes a scheduled job.

By default, jobs will be repeated an infinite number of times.

Restrictions

Jobs scheduled at any event will not be counted.

Jobs that are scheduled at the event "reboot" will not work in some multi management switches.

Range

  • <1-1000>: is the value range for the count option.

  • ([[DD:]HH:]MM): is the format used for the specific delay.

Parameters

count

Specify the number of times the job should run.

delay

Specify the delay before running the job.

enable

Enable a job that is disabled or expired.

disable

Disable a job. By default, a job is enabled.

Usage


job <JOB NAME> at <([DD:]HH:]MM on <WEEKDAY-LIST>)> config-save <COMMAND> count <1-1000>

job <JOB NAME> at <[HH:]MM on [MM/]DD> config-save <COMMAND> count <1-1000>

job <JOB NAME> at <EVENT> config-save <COMMAND>

job <JOB NAME> delay <([DD:]HH:]MM> config-save <COMMAND> count <1-1000>

job <JOB NAME> enable | disable

no job <JOB NAME>