Command Reference Guide
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
• 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.
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: updatesnapspace, createsv, removevv,
createvvcopy, creategroupsv, creategroupcopy, moverlocpd, checkhealth,
compactcpg, compactld, setvv, startao, syncrcopy, tunealdvv, tunepd,
tunetpvv, tunesys, tunevv, updatevv.
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
The following example creates a scheduled task that will run every hour on the hour ("0 * * *
*") and will create a read-only (-ro) snapshot of sample_vv, that will expire in two hours (-exp
createsched 131