Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
Scheduler CLI Commands
53
•
--end:
End date and time. Note: date and time can be entered in any order,
but if spaces are used to separate the time and date, then quotes must be
used. This date/time will be used to tell when an event will end.
If
--end
is not specified, then an open ended event will be generated.
If
--end
is specified followed by 0, the end declaration will be removed,
making this an open ended event. This type of an event is used for an
occurrence that will never end or for events like replication or garbage
collection where they will end when they have completed their job.
•
--daily:
Recur daily starting at the time obtained from the
--start
specification.
•
--weekly:
Recur weekly on specified days (comma separated for multiple
days) starting at the time obtained from the
--start
specification.
•
--monthly:
Recur monthly on the day and time obtained from the
--start
specification.
•
--monthday:
Recur monthly on a specific weekday within the month
starting at the time obtained from the
--start
specification. ex: 2mon : recur
on the second Monday within the month.
•
--yearly:
Recur yearly on the month, day, and time obtained from the
--start
specification.
•
--yearday:
Recur on a specific weekday within the month and starting at the
time, both obtained from the
--start
specification. ex: 2mon : recur on the
second Monday within the month.
•
--interval:
This specifies how often the recurrence is repeated. Recur every
<interval> amount.
If
--interval
is not specified, the default is 1.
ex: If daily recurrence, interval=5 : recurs every 5 days;
if monthly recurrence, interval=5 : recurs every 5 months;
if yearly recurrence, interval=5 : recurs every 5 years.
•
--until:
Date in the format yyyy/mm/dd, or yyyy-mm-dd. This specifies when
to end recurrence. Recur until date. If neither
--until
or
--count
is specified,
recurrence will continue forever.
•
--count:
This specifies when to end recurrence. Recur until <count>
recurrences.
ex: If daily recurrence, count=5 : recur for 5 days;
if monthly recurrence, count=5 : recur for 5 months;
if yearly recurrence, count=5 : recur for 5 years.
Changing an Event
This CLI allows the admin users to change specific properties of an event which
can be a single event, an instance of an event series, or all instances of an event
series. The ID of the event to change is required.
syscli --change event --id <event id> [--desc <event name>] [{--throttle
<bandwidth><K|M> [--service REP]}] [--start <datetime>] [--end
<datetime>] [--none | --daily | --weekly sun,mon,tue,wed,thu,fri,sat | --
monthly | --monthday {1|2|3|4}{sun|mon|tue|wed|thu|fri|sat} | --yearly
| --yearday {1|2|3|4}{sun|mon|tue|wed|thu|fri|sat} [--interval
<interval>] [--until <date> | --count <count>]] [--all]