Air Cleaner User Manual

sbcron
Purpose
Adds, updates, lists, or removes a regularly scheduled command.
Syntax
 sbcron -n
-u
-r
-l
-m minutes
-h hours
-d day
-M month
-w weekday
-I “ID#” -s script
-D description 
Description
The sbcron command is used to add, update, list, or remove a regularly scheduled
command. Regularly scheduled commands are scheduled using one or more of the
following flags: -m, -d, -M,or-w.
The following rules apply to this command:
v You must use a whole number for the -m, -h, -d, -M, and -w flags.
v To indicate an inclusive range, use two numbers separated by a dash. For
example, to schedule a command to run Tuesday through Friday, use the -w flag
with a value of 2-5.
v To indicate that a script should be run on separate days (not an inclusive range),
separate the numbers with a comma. For example, to schedule a command to
run on the first and last day of January, use the following flags:
-M 1 -d 1,31
Note: Do not use a space after the comma.
v When you add or update a new entry (created using -n), you must use the -m
and -h flags.
v If the -d, -M,or-w flags are omitted, all allowed values will be used in place of
the missing flag. For example, to schedule a command to run at 6:30 AM every
day of every month, use the following syntax:
sbcron -s /vg_backup -m 30 -h 6
To schedule a command to run at 6:30 AM every Monday of every moth, use the
following syntax:
sbcron -s /vg_backup -m 30 -h 6 -w 1
Flags
-n
Creates a new schedule for the script defined with the -s flag.
-u
Updates an existing schedule.
-r Removes an existing schedule.
Appendix A. Commands A-63