on_timer
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | on_timer [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Synopsis: | ||
+ | [[on]] [# | ||
+ | |||
+ | ======Description: | ||
+ | This hook is triggered whenever the specified time (or time glob pattern) | ||
+ | matches the current time. The time may be in one of two formats: | ||
+ | |||
+ | ^Format | ||
+ | |hh: | ||
+ | |hh: | ||
+ | |||
+ | ======Parameters: | ||
+ | |$0 |current time (format depends on [[set CLOCK_24HOUR|CLOCK_24HOUR]] setting)| | ||
+ | |||
+ | ======Examples: | ||
+ | To inform the user of the time once per hour on the hour: | ||
+ | on ^timer " | ||
+ | xecho -b The time is now $Z | ||
+ | beep | ||
+ | } | ||
+ | |||
on_timer.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1