Create a new task from scratch in scheduled tasks with the following configuration:
General
Job must be set to run as the user account the task server session run on.
It must also be set to run only when the user is logged on.
This prevents the task server from launching on the wrong session.
Triggers
Set to run daily at the desired time. Tip: Allow 5- 10 minutes after the database startup time.
Ensure status is set to Enabled
Coordinate the trigger time with any configured stop times in Proclaim's TIME tab to ensure seamless operation.
Actions
Browse to the Batch folder located in Prodisk\proclaim
The icon for the task server is located in the TaskDesktopIcon folder
The Task Server executable is named
task server.exe, and the Task Scheduler job can be named something like "Start Proclaim Task Server."
Conditions
Leave as default
Settings
Leave as default
Configuring Start and Stop Times
Proclaim Task Servers are started using a Windows Task Scheduler job, such as "Start Proclaim Task Server." Once started, they run continuously until stopped. To configure their daily stop time:
Open the Task Server Admin interface.
Navigate to the TIME tab.
Adjust the stop time to define when the Task Server should shut down each day. This configuration ensures that the Task Server operates within the desired time frame.
Handling System Reboots
The behavior of the Proclaim Task Server during a system reboot depends on its configuration:
Graceful Stops: If the Task Server is configured to stop at a specific hour/day in Proclaim, it will go to sleep gracefully.
Continuous Operation: If configured to run 24/7, a system reboot will interrupt the running process without a graceful stop. Jobs in progress during a reboot may be affected, but idle Task Servers are typically unaffected by forced stops or reboots.
Scheduling Updates and Automating Restarts
To minimize disruptions during updates and ensure the Task Server restarts automatically after a reboot:
Stopping Before Updates:
Configure a scheduled sleep window in Proclaim so the Task Server goes offline at a defined day/time.
Schedule operating system updates to occur within this window.
Starting After Reboot:
Use the Windows Task Scheduler to create a task that launches the Task Server executable (
task server.exe) at system startup. This approach ensures that updates are applied without impacting ongoing tasks and that the Task Server resumes operation automatically.
Best Practices for Task Server Optimization
Regularly review and adjust stop/start times to align with operational needs.
Schedule updates during low-activity periods to minimize disruptions.
Monitor Task Server performance to identify and address potential issues proactively. By following these guidelines, you can ensure the efficient and reliable operation of Proclaim Task Servers.
