<wakeuprc />

children: (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 Attributes

alarm
type: CDATA
(optional)
stagepath
type: CDATA

<stage />

allowed in: wakeuprc

the 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 Attributes

name
type: ID
time
type: CDATA

<timeout />

allowed in: wakeuprc

Gives up entirely and activates the optional timeout stage. 'name' is the name of the script to run

timeout Attributes

name
type: ID
(optional)
time
type: CDATA

<awake />

allowed in: wakeuprc

this runs when the one of the polls triggers the system stop

awake Attributes

name
type: ID

<poll />

allowed in: wakeuprc

each 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 Attributes

name
type: ID
interval
type: CDATA

<location_based />

allowed in: wakeuprc

The 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 Attributes

file
type: CDATA

auto-generated from wakeuprc.dtd by dtd2html.pl version 1.2