Ascent360 Raptor Service - Auto Restart Setup

Create a Windows scheduled task to restart Raptor Services

 

Open Services.msc on the host server and make note of the names of the Raptor services that are on this server.

Create a powershell script on the host server using notepad or some text editor. The script will have a stop service and a start service line for each instance of the Raptor service on the server.  This example has one service.  The name of the service on the server will be what is in double quotes.  Save the script as “RestartAscent360DataService.ps1” on the server where it will not be mistakenly deleted.  Make note of the location.




 



To create the task open Task Scheduler then select Action > Create Task

Graphical user interface, text, application, emailDescription automatically generated

Name the task something descriptive such as “Restart Ascent360 Data Services”.

In the Security options section select ‘Change User or Group’ and type in ‘System’.  The system user will allow the task to run when no one is logged into the server.

On the ‘Triggers’ tab select ‘New’.  Create a daily schedule that starts in the early evening, it only needs to run once a day or every other day.  For example, 9:00 pm every 2 days.  Make sure the trigger is enabled.  Do not set the trigger to run more than one time per day.


Move to the ‘Actions‘ and select ‘New’. The action will be “Start a Program” and the ‘Program/Script’ will be “Powershell.exe”.  In the ‘Add Arguments’ the path to the .ps1 file created above will be added.  The argument will look like this example:  -file "C:\<path to ps1 file>\RestartAscent360DataService.ps1"

For the ‘Settings’ tab set it up with what makes sense for your shop.  Here is an example:

Graphical user interface, applicationDescription automatically generated