Must be Ran at Least Once a Week
Eaglesoft can run into problems if the database is not shut down and restarted on a regular basis. This should occur at least weekly in order to avoid backup times.
Note: This is based off of official documentation from Patterson Eaglesoft. However, those instructions were modified by our technician to better suit our needs, which include limiting downtime of the service so it would not cause alarms within PRTG monitoring.
Prerequisite
“Automated Client Disconnection”
- Click Start > Programs > Eaglesoft > Technical Reference
- Click Database Setup
- Check the box for “Disconnect active clients when shutting down the server.”
- Select OK, then click Yes to accept the changes.
Task 1
“Eaglesoft Stop Database”
Important: Use this name exactly*
- Use Create a Basic Task Wizard
- Set the name to “Eaglesoft Stop Database.” Add a description if you’d like.
- Set the recurrence of the event.
- Adjust the start time for the event to a point after the office has closed for the day but before the automated backup is scheduled to run.
- Leave the action set to “Start a program.”
- In the “Program/script” box, enter:
“C:\Eaglesoft\SharedFiles\PattersonServerStatus.exe”
In the “Add arguments” box, enter: -stop
- Check the box for “Open the Properties dialog…” and click Finish.
- Set the radio button on the General tab to “Run whether user is logged on or not”
- Check the box for “Run with highest privileges”.
- Click OK and provide the login credentials for a high-level user account (e.g., Administrator or an administrator-level account).
Task 2
“Eaglesoft Start Database”
- Use Create a Basic Task Wizard
- Set the name to “Eaglesoft Start Database”. Add a description if you want.
- Pick any recurrence and start-time of the event. THIS WILL BE CHANGED LATER.
- Leave the Action set to “Start a program”.
- In the “Program/script” box, enter: NET
In the “Add arguments” box, enter: STOP “PattersonServerStatus”
- Check the box for “Open the Properties dialog…” and click Finish.
- Set the radio button on the General tab to “Run whether user is logged on or not”
- Check the box for “Run with highest privileges”.
- On the “Triggers” tab, select “Delay task for:” and set to 1 minute.
- Change the trigger from “On a schedule” to “On an event”, select “Custom”, and click on “Edit Event Filter”.
- Select “Edit query manually” and then paste the following:
- Click OK and go back to the “Actions” tab.
- Click “New” (to add a 2ndaction) and leave the action set to “Start a program”.
- In the “Program/script” box, enter: “C:\Eaglesoft\Shared Files\PattersonServerStatus.exe”
In the “Add arguments” box, enter: -start
- Click OK, ensure this new task is below the original NET STOP, and go back to the “Settings” tab.
- Change “Stop the task if it runs longer than:” to 1 hour.
- Change “If the task is already running” drop-down to “Stop the existing instance”.
- Click OK and provide the login credentials for a high-level user account (e.g., Administrator or an administrator-level account).