Added a new ib-weekly-restart-utc-time option for users to be able to configure the IB weekly restart time so they don't miss the 2FA confirmation request.
The restart is scheduled to the configured time on Sunday:
If IB shuts down before that, we wait until the configured time to start the gateway again.
If IB doesn't shut down by the configured hour passes, we force restart manually.
Related Issue
Closes #34
Motivation and Context
IB weekly restart happens a random hours which can lead to users missing the 2FA confirmation request.
Requires Documentation Change
N/A
How Has This Been Tested?
Units test and live deployments.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Added a new
ib-weekly-restart-utc-time
option for users to be able to configure the IB weekly restart time so they don't miss the 2FA confirmation request.The restart is scheduled to the configured time on Sunday:
Related Issue
Closes #34
Motivation and Context
IB weekly restart happens a random hours which can lead to users missing the 2FA confirmation request.
Requires Documentation Change
N/A
How Has This Been Tested?
Units test and live deployments.
Types of changes
Checklist:
bug-<issue#>-<description>
orfeature-<issue#>-<description>