Is it possible to automate ?

deal with it

Senior Member
Joined
Sep 30, 2015
Messages
1,086
Reaction score
707
What I have : Windows VPS

What I want to do : I want to automate VPS to launch a software and check if software gets shutdown and restart it if it does.

I dont want to connect to vps to do all these things, is there a way to automate :- connect => launch software => watch software behaviour
 
You can make a program which checks if a given process is running per X seconds and if it doesnt you can make it run the program.
As of your knowledge of doing it I have no idea, but it isnt difficult.
 
Op simply hire some dev to get it done. If you are looking for some free script or software to do this, I doubt you are going to find one.
 
What I have : Windows VPS

What I want to do : I want to automate VPS to launch a software and check if software gets shutdown and restart it if it does.

I dont want to connect to vps to do all these things, is there a way to automate :- connect => launch software => watch software behaviour
I am using knas Restarter (google it). You need to launch the softare that you plan on monitoring, then launch knas Restarter, then select the process of the software within knas Restarter, then set up the monitoring interval. I am happy with it. I am using it since 3-4 months and never failed once to restart the process if it got shut down.
 
Hello there!
I'm a windows programmer - also work as a freelancer. If you want any kind of task automation on windows - then let me know.
 
I am using knas Restarter (google it). You need to launch the softare that you plan on monitoring, then launch knas Restarter, then select the process of the software within knas Restarter, then set up the monitoring interval. I am happy with it. I am using it since 3-4 months and never failed once to restart the process if it got shut down.
I dont want to connect and launch anything, i want to automate from the connect part itself
 
You connect and launch once, then sit back
 
I guess you can use ansible for it, Write an ansible task to connect to the host VM and launch the application (you can use cmd, ansible win_command module) and then you can check application related process/service to verify if it's running or not. you can execute the ansible playbook in your local environment(you can schedule it as well). You can execute same playbook on multiple VPSs parallel by passing VPS hostname/IP as parameter.
 
Back
Top