Difference between revisions of "Make things happen at set times or intervals"
(Imported document) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <p><h1>How to set it up</h1></p> | |
− | <p> In | + | <p> In LinuxMCE admin, choose wizard, events, timed events. Give your event handler a description, like "7 a.m. wake-up call", and then choose the type of timed event that most closely matches what you want, and click add. Then add all the commands that you want to occur at that time.</p> |
<p> The event Wizard gives you very basic event control, but without requiring any programming or technical skills. Click the advanced link if you want to program a sophisticated event handler using the embedded ruby language interpreter. The snippet of code will be executed whenever the event is triggered. This way you can create a very sophisticated event,such as "start watering the lawn at 7 a.m. only if there has been no rain in the last 24 hours and the weather report indicates a clear day". </p> | <p> The event Wizard gives you very basic event control, but without requiring any programming or technical skills. Click the advanced link if you want to program a sophisticated event handler using the embedded ruby language interpreter. The snippet of code will be executed whenever the event is triggered. This way you can create a very sophisticated event,such as "start watering the lawn at 7 a.m. only if there has been no rain in the last 24 hours and the weather report indicates a clear day". </p> | ||
Line 8: | Line 8: | ||
<p><h1>Programmer's guide</h1></p> | <p><h1>Programmer's guide</h1></p> | ||
− | + | [[category: Tutorials]] |
Latest revision as of 11:52, 16 July 2009
How to set it up
In LinuxMCE admin, choose wizard, events, timed events. Give your event handler a description, like "7 a.m. wake-up call", and then choose the type of timed event that most closely matches what you want, and click add. Then add all the commands that you want to occur at that time.
The event Wizard gives you very basic event control, but without requiring any programming or technical skills. Click the advanced link if you want to program a sophisticated event handler using the embedded ruby language interpreter. The snippet of code will be executed whenever the event is triggered. This way you can create a very sophisticated event,such as "start watering the lawn at 7 a.m. only if there has been no rain in the last 24 hours and the weather report indicates a clear day".
How to use it
N/A