Cisco Enhanced Device Interface User's Guide, 2.0
Scheduling Jobs

Table Of Contents

Scheduling Jobs

Scheduling EXEC Mode and Network Configuration Jobs

Reviewing Scheduled Jobs


Scheduling Jobs


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.

This chapter includes the following information:

Scheduling EXEC Mode and Network Configuration Jobs

Reviewing Scheduled Jobs

Scheduling EXEC Mode and Network Configuration Jobs

Table 8-1 details the commands used to schedule jobs.

Table 8-1 Commands to Schedule Jobs 

Action
Command

To create a job with a specified name.

[SVR:/server](config)# schedule-job name

To create a job with an optional description.

[SVR:/server](config)# schedule-job name 
description Desc

To define the commands to be run. Commands should be separated by semicolons (;)

[SVR:/server](schedule-job)# execute cmd1; 
cmd2; .....

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:

Table 8-2 Commands to Review Jobs

Action
Command

To display a list of all jobs.

[SVR:/server]# show job list

To display details of the scheduled job.

[SVR:/server]# show job details name

To display all detailed logs of a job.

[SVR:/server]# show job details name logs

To display the latest job history.

[SVR:/server]# show job details name logs 
latest