HP 3PAR OS 3.1.3 Command Line Interface Reference
createsched
DESCRIPTION
The createsched command allows users to schedule tasks that are periodically run by the
scheduler.
SYNTAX
createsched [options] <cmd> <taskschedule> <schedname>
AUTHORITY
• Super, Service, Edit
• Any role that is granted the sched_create right.
OPTIONS
-run_once
The task will only run once at the specified time.
-no_alert
Tasks created with the no_alert option will not generate alerts if the task fails.
-f
Do not detect when a new scheduled task exceeds the recommended number of scheduled task
starts per minute. Do not ask for confirmation to create the new scheduled task.
SPECIFIERS
<cmd>
Specifies that it is either a CLI command or script that has been distributed by HP 3PAR. Can be
up to 127 characters in length.
<taskschedule>
Specifies the use of a crontab-style schedule. Each field can be up to 127 characters in length.
<schedname>
Specifies the name given to the schedule. The name can be up to 31 characters in length.
RESTRICTIONS
• The use of all and upgrade as schedule names are reserved.
• Only the following commands can be scheduled: checkhealth compactcpg compactld
createsv creategroupsv createvvcopy creategroupvvcopy moverelocpd
removevv setvv startao syncrcopy tunepd tunesys tunevv
updatesnapspace updatevv setqos.
EXAMPLES
The following example creates a snapshot every hour that expires in 2 hours for volume vvname:
cli% createsched "createsv -ro -exp 2h @vvname@.@s@ vvname" @hourly snp_vv
The following example creates a snapshot every hour that expires in 2 hours for volumes in vvset:
cli% createsched "createsv -ro -exp 2h @vvname@.@s@ set:vvset" @hourly snp_vvset
120 Create Commands