<wakeuprc />(timeout?, awake?, location_based?, (poll)*, (stage)+)config file for the wakeup script. Functions as an advanced alarm clock. All times can be written as "1 sec" "3 minutes" 5m" "4 hours" where the default time is in seconds.
wakeuprc AttributesCDATACDATA<stage />wakeuprcthe alarm clock will call a given stage after the specified amount of time has elapsed. The previously-activated stage, if any, will be told to exit and the new stage will be told to enter. If the alarm is not told to stop (through a poll), it will continue trying until the timeout is reached. each stage is named "stagepath/name" using the values above and below.
stage AttributesIDCDATA<timeout />wakeuprcGives up entirely and activates the optional timeout stage. 'name' is the name of the script to run
timeout AttributesIDCDATA<awake />wakeuprcthis runs when the one of the polls triggers the system stop
awake AttributesID<poll />wakeuprceach poll will be called at the specified interval. if the return value of the program specified in "name" is 0, then the alarm will stop. Ideally, you simply write a script for each poll and it checks to see if you've deactivated the alarm somehow.
poll AttributesIDCDATA<location_based />wakeuprcThe file specified here should contain the name of the user's current location. This should be a single word, no spaces. A directory named after the location will be looked for in stagepath and stages named after the current stage will be executed if found (with the same parameters as the stages).
location_based AttributesCDATAauto-generated from wakeuprc.dtd by dtd2html.pl version 1.2