HP 3PAR StoreServ 7450 4-node HP 3PAR Command Line Interface Administrator& - Page 139

Modifying a Scheduled Task, Suspending and Resuming Scheduled Tasks, Removing Scheduled Tasks

Page 139 highlights

Modifying a Scheduled Task To change the name of a scheduled task or change when the task is initiated, issue the setsched -s -name command, where: • 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. • is new name to be applied to the existing schedule name. • is the existing schedule name. Suspending and Resuming Scheduled Tasks To suspend or resume scheduled tasks, issue the setsched[-suspend|-resume] command, where: • suspends the schedule specified by the schedule name. • resumes the schedule specified by the 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 | command, where: • is the name of the schedule to remove. • is the name of the pattern according to which schedules are removed. • removesched [options] 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

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