set schedule 115
set schedule
Description
Changes parameters for a specified schedule. If you want to change the schedule name, create a
new schedule to replace the existing one. You must specify at least one of the optional parameters
for the command to succeed.
Min. role
manage
Syntax
set schedule
[schedule-specification "
specification
"]
[task-name
task-name
]
schedule-name
Parameters
schedule-specification "
specification
"
Optional. Defines when the task will first run, and optionally when it will recur and expire. You can
use a comma to separate optional conditions. Dates cannot be in the past. For times, if neither
AM
nor
PM
is specified, a 24-hour clock is used.
•
start
yyyy-mm-dd
hh
:
mm
[AM|PM]
Specifies a date and a time in the future to be the first instance when the scheduled task will run,
and to be the starting point for any specified recurrence.
•
[
every
#
minutes|hours|days|weeks|months|years]
Specifies the interval at which the task will run.
•
[between
hh
:
mm
[AM|PM] and
hh
:
mm
[AM|PM]]
Constrains the time range during which the task is permitted to run. Ensure that the start time is
within the specified time range.
•
[only any|first|second|third|fourth|fifth|last|
#
st|
#
nd|
#
rd|
#
th
weekday|weekendday|Sunday|Monday|Tuesday|Wednesday|Thursday|Friday
|Saturday of year|month|January|February|March|April|May|June|July |
August|September|October |November|December]
Constrains the days or months when the task is permitted to run. Ensure that this constraint
includes the start date.
•
[count
#
]
Constrains the number of times the task is permitted to run.
•
[expires
yyyy-mm-dd
hh
:
mm
[AM|PM]]
Specifies when the schedule expires, after which the task will no longer run.
task-name
task-name
Optional. The name of an existing task to run. A name that includes a space must be enclosed in
double quotes.
schedule-name
The name of the schedule to change. A name that includes a space must be enclosed in double
quotes.
Example
Change parameters, including the associated task, for schedule
Sched1
.
# set schedule schedule-specification "start 2015-01-01 00:01 every 1 days
expires 2015-12-31 00:01" task-name Task1 Sched1
See also •
•
Summary of Contents for AssuredSAN 6004
Page 11: ...Document conventions and symbols 11 TIP Provides helpful hints and shortcuts...
Page 114: ...114 Alphabetical list of commands See also set cli parameters show protocols...
Page 139: ...show controller statistics 139 See also reset all statistics reset controller statistics...
Page 162: ...162 Alphabetical list of commands See also show power supplies...