How to schedule an automatic start/stop of a Jiwa service
QUESTION
For increased stability, you may wish to restart Jiwa Services on a regular basis. This allows to recycle processes and memory threads to keep a healthy system running.
To recycle Jiwa Services you can simply create a Scheduled Task using two actions with the NET commands. The first one to start the service, the second one to stop the service.
ANSWER
- Open the Windows Services Management Console by typing services.msc in the run box.
- Locate the Jiwa 7 API and open its properties.
- Take note of the Service name for future use:
- Open the Task Scheduler by typing Task in the Windows search box:
- Select Create a Basic Task from the Actions list on the right:
- Name the task Start Jiwa 7 API
- Click Next and select Daily Trigger:
- Pick a time where there will be no activity such as 5:00 AM:
- Click Next and for the Action select Start a program:
- For the Program/Script type NET and add the arguments Stop "GSX Monitor" or service name noted earlier (step #3) if different:
- Before Finishing, select the Open the Properties dialog option:
- In the General tab select Run whether user is logged in or not and Run with highest privileges:
- This task will start the Jiwa API service, daily at a chosen time, now we need to create another task to Stop it again. Repeat Step 1-12. The only difference in the command is to replace the "Start" command with "Stop" in Step 10