Modifying a Scheduled Task
To change the name of a scheduled task or change when the task is initiated, issue the
setsched
-s <new_schedule> -name <new_name> <schedule_name>
command, where:
•
<new_schedule>
is a crontab-style argument that changes when the schedule is initiated.
You can use the minute, hour, day-of-month, month, and day-of-week format, or use one of
the special entries to schedule when the CLI command is initiated.
•
<new_name>
is new name to be applied to the existing schedule name.
•
<schedule_name>
is the existing schedule name.
Suspending and Resuming Scheduled Tasks
To suspend or resume scheduled tasks, issue the
setsched[-suspend|-resume]<schedule_name>
command, where:
•
<suspend>
suspends the schedule specified by the schedule name.
•
<resume>
resumes the schedule specified by the schedule name.
•
<schedule_name>
is the name of the schedule to suspend or resume.
NOTE:
You can use the
-suspend_all
and
-resume_all
options in place of the
-suspend
and
-resume
options to suspend or resume all scheduled tasks in the system.
For a complete list of options available for the
setsched
command, see the HP 3PAR Command
Line Interface Reference and the HP 3PAR CLI Help.
Removing Scheduled Tasks
To remove scheduled tasks, issue the
removesched <schedule_name>|<pattern>
command,
where:
•
<schedule_name>
is the name of the schedule to remove.
•
<pattern>
is the name of the pattern according to which schedules are removed.
•
removesched [options] <name|pat>
Where options are
-pat
and
-f
, without
-pat
the system does not match the pattern but
looks for a specific name.
For a complete list of options available for the
removesched
command, see the HP 3PAR Command
Line Interface Reference and the HP 3PAR CLI Help.
System Scheduler
139