How to create Task Scheduler to automatically restart Titan Service weekly

How to create Task Scheduler to automatically restart Titan Service weekly

Question: How to restart Titan Service Weekly
Reasoning: CPU and Memory are spiking and want to restart Titan Service weekly to normalize the resources usage
Task Scheduler
The Task Scheduler is a Windows component that can automatically run tasks at a specific time or in response to a specific event. For example, tasks can be run when the computer starts or when a user logs in. You can start tasks when a specific event occurs, and using a task scheduler, you can run commands and execute scripts on a specific day and time.

Windows Services
In this demo, I am going to restart Titan SFTP Server Service.

Getting Started
Search task scheduler in Windows search.
TaskScheduler
Right-click on Task Scheduler click New Folder give a name to the folder like Service reset and click OK.
NewFolder

Making a folder makes your tasks separate so that you can manage them easily.
Now right-click on the newly created folder, select Create Task, and provide the task name. In the general tab, enter Name and description, choose Run whether the user is logged on or not, and select Run with highest privileges.


In the triggers tab, provide the scheduled date and time when you want to restart the service.


Add action and put NET in the Program/script path STOP “ServiceName ” in the arguments text box, and click OK.

Add another one in Action tab and put NET in the Program/scripts path and put START “ServiceName” in the Add arguments(optional) text.

Keep conditions and check Power options as selected in the given screenshot.

Your settings might be different, but I am keeping Allow task to be run on demand and Run task as soon as possible after a scheduled start is mossed and click OK.
Triggers

In the Task scheduled, you can see a created task, if can run right away or wait for the given scheduled time.
    • Related Articles

    • How To: Manually/Automatically Start Titan Service

      How To: Manually/Automatically Start Titan Service Question The server doesn't start automatically when the PC is booting up. Reasoning The Titan Server may not load automatically after boot due to incorrect service settings, startup errors, or port ...
    • How To: Create a Server With Windows Authentication In Titan

      How To: Create a Server With Windows Authentication In Titan Question How do I create a server within Titan that utilizes Windows authentication? Reasoning I already have a database of users stored on a local windows server or an Active Directory ...
    • How To: Create a CSR and update your SSL Certificate

      How To: Create a CSR and update your SSL Certificate Question How do I create a CSR so I can replace my signed SSL certificate? Reasoning My SSL certificate is about to expire so I need to replace it. I want to have a trusted SSL certificate signed ...
    • Titan Rebranding Announcement – FAQ

      Titan Rebranding Announcement FAQ Overview South River Technologies, Inc. (SRT) has announced a major rebranding initiative to unify its server suite of products under the Titan brand. This change is aimed at driving clarity, enhancing product ...
    • KB - Titan Server Service Slow or Stopped after Reboot

      Titan Server Service is slow or not started after a Reboot Question After restarting the Server, Titan Service is slow or not started at all. How do I resolve this? Reasoning It is desired for the Titan Server Service to be running, and running ...