Difference between revisions of "Make things happen at set times or intervals"

From LinuxMCE
Jump to: navigation, search
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table><p><h1>How to set it up</h1></p>
+
<p><h1>How to set it up</h1></p>
 
<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> 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>
  

Revision as of 10:13, 19 March 2007

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

Programmer's guide