Comments (2)
Yes, you are right, and in fact I no longer use this setting myself, but I have forgotten to update the sample task template in the repository. I'll do that shortly.
In the meantime, here's the export of my actual scheduled task that I use for my live TWS, just in case it's helpful:
<?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>TW\d41a3npql2</Author>
<URI>\Trading\Start TWS Live</URI>
</RegistrationInfo>
<Triggers>
<CalendarTrigger>
<Repetition>
<Interval>PT10M</Interval>
<Duration>PT23H55M</Duration>
<StopAtDurationEnd>false</StopAtDurationEnd>
</Repetition>
<StartBoundary>2014-03-01T22: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>S-1-5-21-4137257962-3514354744-3491261515-1127</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>true</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-Live\StartTWS.bat</Command>
<Arguments>/INLINE</Arguments>
</Exec>
</Actions>
</Task>
from ibc.
Thank you very much. I see that in your new task you have also cleared the option "Stop the task if it runs longer than 25 hours" in the settings tab. That makes sense to me as well.
from ibc.
Related Issues (20)
- Question: Is there any difference on launching TWS with IBC while using an ibgateway installation HOT 6
- ErrorLevel=1004 HOT 5
- IBC 3.18.0 failed to click "I understand and accept" on warning dialog "This is a paper account" on TWS 10.26.1h HOT 2
- Fix suggestion for RECONNECTDATA and RECONNECTACCOUNT which never worked on macOS (probably) HOT 2
- Strange condition TWS 1025 (paper) IBC 3.15.2 HOT 4
- Why IBC ended? HOT 6
- Issue with restart TWS HOT 22
- Failed to Re-Login HOT 4
- Using environment in config.ini HOT 4
- Invalid ClosedownAt setting HOT 3
- Launching gatewaystart.sh from user crontab is impossible HOT 3
- stable version HOT 12
- Unknown Username.Password/Duplicate Session? HOT 30
- how to prevent auto-login? HOT 1
- IBC unable to restart after 2.5 days of running. Happened multiple times. HOT 8
- Unable to find Java installation on Docker container HOT 2
- IBC Not selecting Second factor device 'IB Key' HOT 12
- Wrong Username/Password Bug TWS Paper Trading Automated Login Failure HOT 3
- Lock and Exit > Never lock Trader Workstation HOT 13
- Strange behaviour when using ConfigureAutoLogoffOrRestartTimeTask HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ibc.