Scheduling an AgilePoint Server Restart in Windows Service Mode

To restart AgilePoint Server running in Windows Service mode based on a schedule, ​do the procedure in this topic.

Prerequisites

Navigation

  1. Open Notepad.

Instructions

  1. In NotePad, create a new file with the following command, and save it as a PowerShell script file with a name such as apserverrestart.ps1:
    Restart-Service [AgilePoint Server Manager service name]

    If you have multiple AgilePoint Server service instances, create a separate script file for each instance.

  2. In Notepad, create a new file with the following command, and save it as a batch file with a name such as apserverrestart.bat:
    PowerShell -command "& '[path]\apserverrestart.ps1' "

    If you have multiple AgilePoint Server service instances, create a separate script file for each instance.

  3. If you have an NLB environment, in Notepad, create a new file with the following command, and save it as a batch file with a name such as csmrestart.bat:
    PowerShell -command "& '[path]\csmrestart.ps1' "
  4. Use Windows Scheduler to execute the batch files according to the schedule you want.
    Note: In an NLB environment, AgilePoint recommends restarting the servers on different days to maintain system availability. If you restart them on the same day, it is possible to experience system downtime.