Make things happen at set times or intervals

From LinuxMCE
Revision as of 18:48, 5 June 2006 by Wikiadmin (Talk | contribs) (Imported document)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.

How to set it up

In Pluto 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

Programmer's guide