Cisco E-DI provides the option to schedule EXEC mode and network configuration jobs. This is a useful tool for automating monitoring and operational tasks in a controlled fashion. A job can be scheduled for one time, or for repeated implementation. Cisco E-DI keeps a history of jobs and logs. Typical tasks which could be scheduled would be the periodic synchronization of the Cisco E-DI data cache with the NE, or to push configuration changes to NEs.
To specify when you want the job to start running.
The values are:
–Month—Name of the month
–Day—Day of the month
–Year—Between 2003-2020
–Hour—0-23
–Minutes— 0-59
Note You can modify any of the parameters of a scheduled job such as start time, stop time, and repeat frequency. Enter the command with the updated value.
[SVR:/server](schedule-job)# start-at
month day year hour minutes
To specify when you want to the job to stop running.
[SVR:/server](schedule-job)# stop-at month
day year hour minutes
To specify the repetition frequency with one of the frequency parameters listed above.
Note If you do not specify the repeat frequency, the job will be run once.
[SVR:/server](schedule-job)# repeat
frequency [minutes | hours | days | weeks
|months | years] number
To delete a scheduled job.
[SVR:/server](config)# no schedule-job
name
The following example shows two scheduled jobs:
schedule-job Alarms
start-at april 7 2005 17 11
repeat frequency minutes 2
history-size 5
execute network ; clear alarms
!
schedule-job Inventory
start-at april 7 2005 17 10
repeat frequency minutes 2
history-size 5
execute network ; inventory
!
Reviewing Scheduled Jobs
Table 8-2 provides options to review scheduled jobs, job implementation history, and detailed logs: