HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 177
set schedule
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 177 highlights
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. When scheduling ReplicateVolume tasks, a best practice is to schedule no more than three volumes to start replicating at the same time, and for those replications to recur no less than 60 minutes apart. If you schedule more replications to start at the same time, or schedule replications to start more frequently, some scheduled replications may not have time to complete. 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. For better performance when scheduling a TakeSnapshot task that will run under heavy I/O conditions or on more than three volumes, the retention count and the schedule interval should be set to similar values; for example if the retention count is 10 then the interval should be set to 10 minutes. For a ReplicateVolume task, the minimum interval is 30 minutes. • [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. NOTE: If tasks are scheduled close together, the end of one task may overlap the next task. If this happens, a task may not complete. task-name task-name Optional. The name of an existing task to run. The name is case sensitive. schedule-name The name of the schedule to change. set schedule 177