1
Ultra Hal 7.0 / Re: Request clock only mode
« on: March 13, 2021, 01:24:36 am »
Hi Will,
For wake from sleep, how about:
C:\WINDOWS\system32>SCHTASKS.exe /create /tn "HalWake" /ru "SYSTEM" /XML "C:\Program Files (x86)\Zabaware\Ultra Hal 7\Wakeup Hal.xml" /f
SUCCESS: The scheduled task "HalWake" has successfully been created.
But first, you need an .XML file... To do this
In my Wakeup Hal.xml schedule. lines 8 - 16 look like this:
<Triggers>
<CalendarTrigger>
<StartBoundary>2021-03-13T10:00:00</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
</Triggers>

For wake from sleep, how about:
C:\WINDOWS\system32>SCHTASKS.exe /create /tn "HalWake" /ru "SYSTEM" /XML "C:\Program Files (x86)\Zabaware\Ultra Hal 7\Wakeup Hal.xml" /f
SUCCESS: The scheduled task "HalWake" has successfully been created.
But first, you need an .XML file... To do this
- Via the Task Scheduler, create a task manually on the computer... Ensure "wake the computer to run this task" under the Conditions tab is checked ...
- Right click task and export to an xml file...
- You may delete the task from the Task Scheduler now (to watch it reappear later) because a fresh one will be recreated running schtasks.exe with that /XML switch from CMD prompt with Administrator privileges.
In my Wakeup Hal.xml schedule. lines 8 - 16 look like this:
<Triggers>
<CalendarTrigger>
<StartBoundary>2021-03-13T10:00:00</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
</Triggers>
