-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scheduled task sample template and User Guide
- Loading branch information
1 parent
0e5cd4f
commit 0924285
Showing
4 changed files
with
107 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version="1.0" encoding="UTF-16"?> | ||
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | ||
<RegistrationInfo> | ||
<Date>2014-03-01T18:45:15.7467279</Date> | ||
<Author>Your name</Author> | ||
</RegistrationInfo> | ||
<Triggers> | ||
<CalendarTrigger> | ||
<Repetition> | ||
<Interval>PT10M</Interval> | ||
<Duration>PT23H55M</Duration> | ||
<StopAtDurationEnd>false</StopAtDurationEnd> | ||
</Repetition> | ||
<StartBoundary>2023-10-15T22:15:00</StartBoundary> | ||
<Enabled>true</Enabled> | ||
<ScheduleByWeek> | ||
<DaysOfWeek> | ||
<Sunday /> | ||
<Monday /> | ||
<Tuesday /> | ||
<Wednesday /> | ||
<Thursday /> | ||
</DaysOfWeek> | ||
<WeeksInterval>1</WeeksInterval> | ||
</ScheduleByWeek> | ||
</CalendarTrigger> | ||
</Triggers> | ||
<Principals> | ||
<Principal id="Author"> | ||
<UserId>Your username</UserId> | ||
<LogonType>InteractiveToken</LogonType> | ||
<RunLevel>LeastPrivilege</RunLevel> | ||
</Principal> | ||
</Principals> | ||
<Settings> | ||
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> | ||
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> | ||
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> | ||
<AllowHardTerminate>true</AllowHardTerminate> | ||
<StartWhenAvailable>false</StartWhenAvailable> | ||
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> | ||
<IdleSettings> | ||
<StopOnIdleEnd>true</StopOnIdleEnd> | ||
<RestartOnIdle>false</RestartOnIdle> | ||
</IdleSettings> | ||
<AllowStartOnDemand>true</AllowStartOnDemand> | ||
<Enabled>false</Enabled> | ||
<Hidden>false</Hidden> | ||
<RunOnlyIfIdle>false</RunOnlyIfIdle> | ||
<DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession> | ||
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine> | ||
<WakeToRun>false</WakeToRun> | ||
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit> | ||
<Priority>7</Priority> | ||
</Settings> | ||
<Actions Context="Author"> | ||
<Exec> | ||
<Command>C:\IBC\StartTWS.bat</Command> | ||
<Arguments>/INLINE</Arguments> | ||
<WorkingDirectory>C:\IBC</WorkingDirectory> | ||
</Exec> | ||
</Actions> | ||
</Task> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters