Badger TraCS Guides
Task 3.27: Set up a task to restart services daily
Task 3.27: Set up a task to restart services daily
Purpose: the Windows batch services that come with TraCS need to be restarted periodically otherwise the computer that is running the services ends up having memory errors. Setting up an automated windows task will complete the setup of the Windows Services “Batch” Server.
Requirement:
Task 1.4.1 https://wi-state-patrol.atlassian.net/wiki/spaces/TG/pages/2023227393 —set up an email database connection.
Complete https://wi-state-patrol.atlassian.net/wiki/spaces/TG/pages/2023227402 doesn’t work without the email and notification services.
Complete https://wi-state-patrol.atlassian.net/wiki/spaces/TG/pages/2023161870
If you configured optional service this will work for this service alsohttps://wi-state-patrol.atlassian.net/wiki/spaces/TG/pages/2023751681
Requirements: Batch computer
Create Daily Start/Stop Task
Create a Directory TraCSHelp in C:\Program Files (x86)
You may get prompted that you need to be an Admin but it should create and save if you are.
Create batch file called Restart TraCS Services.bat - save this file to your desktop first, and then move it into the TraCSHelp folder in C:\Program Files (x86)
net stop "TraCS Batch Import Export"
net stop "TraCS Batch TransComm"
net stop "TraCS Email Service"
net stop "TraCS Notification Service"
net stop "ActiveDirectoryService" – only if enabled
net start "TraCS Batch Import Export"
net start "TraCS Batch TransComm"
net start "TraCS Email Service"
net start "TraCS Notification Service"
net Start"ActiveDirectoryService" – only if enabled
Create task to run at 4am (or time of your choice, do not interfere with when the batches are run)
Open Task Scheduler as admin
Add Task (Action | Create task)
Set as Daily Task at 4pm (or time of your choice, do not interfere with when the batches are run)
New
Set Action
New Action
Test and Save
Related content
email badgertracs@dot.wi.gov or call 608-267-2096