HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual

Scheduling Tasks
To create a scheduled task, issue the createsched <command> <task_schedule>
<schedule_name> command, where:
<command> is the name of the CLI command to be initiated. The CLI command must be
one of the commands listed in Table 12 (page 134).
<task_schedule> is a crontab-style argument that specifies when the CLI command 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.
<schedule_name> specifies the name of the schedule.
For a complete list of options available for the createsched command, see the HP 3PAR
InForm OS Command Line Interface Reference and InForm OS CLI Help.
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 InForm OS
Command Line Interface Reference and InForm OS CLI Help.
136 Managing Tasks