Task Scheduler Setup — SR BRIDGE (EXE with Arguments)
1) Create the Task in Windows Task Scheduler
-
Open Task Scheduler
- Start → type "Task Scheduler" → Press Enter
-
Click Create Task… (right-hand Actions pane)
2) General Tab
- Name: SpaceRivers BRIDGE
- Security options:
- Run whether user is logged on or not
- Run with highest privileges
3) Triggers Tab
- Click New…
- Begin the task: On a schedule
- Set:
- Daily
- Start time
- Recurrence
- Click OK
4) Actions Tab
-
Click New…
-
Program/script:
<exe file path> -
Add arguments:
-
Single Job:
--Task Job -
Multiple Jobs:
--Task Job Phase Cost-Code Actual-Cost -
All Jobs:
--all
-
-
Click OK
5) Conditions Tab
- Uncheck Start the task only if the computer is on AC power
- Uncheck Start only if network connection available (unless required)
6) Settings Tab
- Tick Allow task to be run on demand
- Optional:
- Stop the task if it runs longer than X hours
- Restart task every 1 minute, up to 3 times
Click OK
7) Testing & Verification
- Run the task manually in Task Scheduler
- Check Last Run Result
0x0→ Success ✅
- Check logs folder (exe file path) for output
- Verify config.json updated correctly
- Ensure UI refresh timer picks up changes
Result
This setup schedules the SR BRIDGE with specific job arguments, logs output, and updates config.json automatically.