Air Cleaner User Manual
-l Lists all scheduled SysBack scripts.
-m ″minutes″
Specifies the minutes for scheduling a script. Valid values are from 1 to 60.
-h ″hours″
Specifies the hour for scheduling a script. Valid values are 0 to 23, where 0 is
equal to 12:00 AM, and 23 is equal to 11:00 PM.
-d ″days″
Specifies the day a script should be scheduled. Valid values are from 1 to 31.
-M ″month″
Specifies the month a script should be scheduled. Valid values are from 1 to 12,
where 1 is equal to January, and 12 is equal to December.
-w ″weekday″
Specifies the day of the week a script should be scheduled. Valid values are
from 0 to 6, where 0 is equal to Sunday and 6 is equal to Saturday.
-I ″ID#″
Specify the SysBack ID number of the script to remove.
-s ″script″
The script to be scheduled.
-D ″description″
Enables you to include a custom description. This description is included in
the list created using the -l flag.
Examples
1. To schedule the vg_backup script:
sbcron -m 0 -h 23 -w 1-5 -s /scripts/vg_backup
2. To schedule the system_backup script to run at 12:00 AM on the first, fifteenth,
and thirtieth of each month:
sbcron -m 0 -h 0 -d 1,15,30 -s /home/scripts/system_backup
3. To schedule the fs_backup script to run at 6:30 AM every Monday, Wednesday,
and Friday:
sbcron -m 30 -h 6 -w 1,3,5 -s /fs_backup
4. To schedule the system_backup script to run every day at 12:00 AM:
sbcron -m 0 -h 0 -s /system_backup
5. To remove the schedule with an ID of SB102:
sbcron -r -I SB102
6. To obtain a listing of schedules:
sbcron -l
A-64 IBM Tivoli Storage Manager for System Backup and Recovery: Installation and User’s Guide