Lights-Out for Windows Server Solutions 2011/2012
|
The calendar tasks are saved in a XML file and can be modified by external applications.
Lights-Out supports external changes to the TaskList.xml file.
You can use this feature to import runtimes and wake-up dates into Lights-Out.
This file is stored in the hidden folder C:\ProgramData\LightsOut.
Attribute |
Value(s) |
Remarks |
Days |
None, Monday - Sunday |
Multiple days are separated by a blank. |
EndDate |
yyyy-mm-ddTHH:MM:ss |
Date is only used when Days=”None”. For a single end or start action add 30s to the start time to calculate the end time. |
Force |
false, true |
Forces an end action |
Mode |
OnlyStart, OnlyEnd, TimeSpan |
Use only start action, Use only end action, Use both |
Name |
LoS+Guid |
A unique identifier which matches the rules for file names. Special characters like ":" are not allowed. |
OnEnd |
DoNothing, Suspend, Hibernate, Shutdown, Reboot |
|
OnStart |
DoNothing, WakeUp |
|
StartDate |
yyyy-mm-ddTHH:MM:ss |
Date is only used when Days=”None” |
Type |
Any user-defined value, entries created by Lights-Out use Lights-Out as type |
Used to flag entries from external applications. The type is displayed top right in the calendar editor for reference. Tasks created by Lights-Out use Lights-Out as type value. |
Example 1: Reboot at midnight on 11/05/2009
Example 2: Wake up at 06:00 on 11/05/2009
Example 3: Wake up at 12:00 on Monday and Thursday, then run until 18:00 and hibernate
<?xml version="1.0" encoding="utf-8"?> <TaskList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.axonet.de/2010/07/LightsOutTaskList"> <List> <LightsOutTask Days="None" EndDate="2009-11-05T00:00:30" Force="false" Mode="OnlyEnd" Name="LoS-f0300226-5f62-47db-9194-7477961cc2a9" OnEnd="Reboot" OnStart="DoNothing" StartDate="2009-11-05T00:00:00"/> <LightsOutTask Days="None" EndDate="2009-11-05T06:00:30" Force="false" Mode="OnlyStart" Name="LoS-6f395c61-a434-4547-9ac3-9795672f521f" OnEnd="DoNothing" OnStart="WakeUp" StartDate="2009-11-05T06:00:00"/> <LightsOutTask Days=" Monday Thursday" EndDate="2009-11-05T18:00:00" Force="false" Mode="TimeSpan" Name="LoS-3557287e-1d58-4430-85d3-1a9dcd44015e" OnEnd="Hibernate" OnStart="WakeUp" StartDate="2009-11-05T12:00:00"/> </List> </TaskList>
Be careful with the file format, there’s only limited error checking. Any change you make should be visible in the calendar panel within 15s.
Copyright (c) Martin Rothschink, AxoNet Software GmbH 2008-2015
|
What do you think about this topic? Send feedback!
|