Specifying A One-Time Schedule - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 19
Scheduling Maintenance Jobs
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
switch(config-schedule)# time start now
repeat 48:00
switch(config-schedule)# time start
14:00 repeat 14:00:00
The most significant fields in the time parameter are optional. If you omit the most significant fields, the
values are assumed to be the same as the current time. For example, if the current time is September 24,
2004, 22:00 hours, then the commands are executed as follows:
If the time interval configured for any schedule is smaller than the time taken to execute its assigned
Note
job(s), then the subsequent schedule execution occurs only after the configured interval amount of time
has elapsed following the completion time of the last iteration of the schedule. For example, a schedule
is executed at 1-minute intervals and a job assigned to it takes 2 minutes to complete. If the first schedule
is at 22:00 hours, the job finishes at 22:02 after which, the 1-minute interval is observed and the next
execution occurs at 22:03 and finishes at 22:05.

Specifying a One-Time Schedule

When you specify a one-time job execution, that job is only executed once.
To specify a one-time job for the command scheduler, follow these steps:
Command
Step 1
switch# conf t
switch(config)#
Step 2
switch(config)# scheduler schedule name configureVsan99
switch(config-schedule)#
Step 3
switch(config-schedule)# job name addMemVsan99
Step 4
switch(config-schedule)# time start 2004:12:14:23:00
switch(config-schedule)# no time
OL-18084-01, Cisco MDS NX-OS Release 4.x
The time start 23:00 repeat 4:00:00 command implies a start time of September 24, 2004, 23:00
hours.
The time daily 55 command implies every day at 22:55 hours.
The time weekly 23:00 command implies every Friday at 23:00 hours.
The time monthly 23:00 command implies the 24th of every month at 23:00 hours.
Configuring the Command Scheduler
Specifies a job to be executed every 48 hours
beginning 2 minutes from now —if today is
September 24, 2004, and the time is now 2:00 p.m.,
the command begins executing at 2 minutes past 2:00
p.m. on September 24, 2004, and continues to execute
every 48 hours after that.
If today is September 24, 2004, (Friday), this
command specifies the job to be executed every
alternate Friday at 2 p.m. (every 14 days).
Purpose
Enters the configuration mode.
Defines a job schedule
(configureVsan99) and enters the
submode for that schedule.
Assigns a predefined job name
(addMemVsan99) for this schedule.
Specifies a one-time execution on
December 14, 2004, at 11 p.m.
Deletes the time assigned for this
schedule.
Cisco MDS 9000 Family CLI Configuration Guide
19-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents