HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)
setsched
DESCRIPTION
The setsched command allows users to suspend, pause, change the schedule, change the
parameters, and change the name of currently scheduled tasks.
SYNTAX
setsched [options <arg>] <schedname>
setsched [-suspend | -resume] <schedname>
setsched [-suspend_all | -resume_all]
AUTHORITY
• Super, Service, Edit
• Any role granted the sched_setany right can set any user scheduled task properties.
• Any role granted the sched_setown right can only set their own scheduled task properties.
OPTIONS
-suspend <schedname>
Suspends execution of a specified task. This option will not halt execution of a task that is already
running. This option cannot be used with other options.
-suspend_all
Suspends execution of all scheduled tasks. This option will not halt execution of a task that is already
running. This option cannot be used with other options.
-resume
Resumes scheduling of a specified task. This option cannot be used with other options.
-resume_all
Resume scheduling of all specified tasks. This option cannot be used with other options.
-s <newschedule>
Sets a new schedule for a given task. The newschedule is a cron-style schedule for the task to be
run on. Each field can be up to 127 characters in length.
-name <newname>
Sets a new name for a given task. The name can be up to 31 characters in length.
-no_alert
Failures of tasks will no longer generate an alert.
-alert
Failures of tasks will generate an alert. This is set by default.
SPECIFIERS
<schedname>
Specifies the name of the scheduled task to modify.
RESTRICTIONS
None.
322 Set Commands