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

  1. Open the Windows Services Management Console by typing services.msc in the run box.
  2. Locate the Jiwa 7 API and open its properties.
  3. Take note of the Service name for future use:
  4. Open the Task Scheduler by typing Task in the Windows search box:
  5. Select Create a Basic Task from the Actions list on the right:
  6. Name the task Start Jiwa 7 API

  7. Click Next and select Daily Trigger:

  8. Pick a time where there will be no activity such as 5:00 AM:

  9. Click Next and for the Action select Start a program:

  10. For the Program/Script type NET and add the arguments Stop "GSX Monitor" or service name noted earlier (step #3) if different:

  11. Before Finishing, select the Open the Properties dialog option:


  12. In the General tab select Run whether user is logged in or not and Run with highest privileges:



  13. 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