
Sched Commands
www.3ware.com
105
sched rebuild
cid
This command displays the current rebuild background tasks as illustrated
below.
//localhost> tw_cli sched rebuild c1
Rebuild Schedule for controller /c1
========================================================
Slot Day Hour Duration Status
--------------------------------------------------------
0 Mon 2:00pm 10 hr(s) disabled
1 Thu 7:00pm 18 hr(s) disabled
2 - - - -
3 - - - -
4 - - - -
5 Mon 1:00am 4 hr(s) disabled
6 Sun 12:00am 1 hr(s) disabled
sched rebuild
cid
add d
day
h
hour
t
duration
This command adds a new background rebuild task to be executed on day
(range 0 .. 6, where Sunday is zeroth day of the week), at hour (range 0 .. 23),
for a duration of duration (range 1 .. 24) hours. This command will fail if no
(empty) slot is available.
Note:
The new schedule is added to the first available slot. Events do not need
to be added in sequential order
For example:
//localhost> tw_cli sched rebuild c1 add d0 h16 t3
Adds a rebuild background task to be executed on Sundays at 4:00 PM for a
duration of 3 hours.
sched rebuild
cid
remove slot_id
This command removes (or unregisters) the rebuild background task in slot
slot_id.
Warning:
If all time slots are removed, be sure to also disable the
schedule. Otherwise the applicable background task will never
occur.
For example:
//localhost> tw_cli sched rebuild c1 remove 2
Removes the rebuild background task in slot 2.