Syntax: -rewalk="TIME_SPEC"
This performs the function of -rewalk
on the schedule specified
in TIME_SPEC
. TIME_SPEC
may consist of a time, day, and/or
a repeat frequency.
A time consists of the hour, optionally followed by the minute, optionally
followed by AM or PM. It may also be one of the units hour
,
day
, or week
.
Days may be abbreviated to the first 3 characters of the name.
Use the word every
to get repeating behavior.
The order of terms in the time spec is not critical.
Use the -h
option AFTER the -rewalk
to see how
gw
interprets your schedule without executing it.
When running on a schedule, gw will sleep until the first rewalk time, rewalk, then, if appropriate, sleep until the next repeat period. You may want to run gw in the background when using the scheduler.
Examples:
rewalk once at 1 am: -rewalk="1am"
rewalk once at 1:30 PM on Saturday: -rewalk="1:30pm saturday"
rewalk once 3 hours from now: -rewalk="3 hours"
rewalk every day at 1 am: -rewalk="every 1am"
rewalk every Saturday at 11 PM: -rewalk="every 11pm saturday"
rewalk every 12 hours from now: -rewalk="every 12 hours"