Auto Restart Jedi Knight Academy server when not logged in

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
rancidman
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu May 17, 2018 7:34 pm

Auto Restart Jedi Knight Academy server when not logged in

Post by rancidman »

Hi,

I run a JKA server on my VPS and I created a .bat file that I can get windows task manager to run every 5 minutes to check whether the Server is running and if not, to start the server back up. The script and task manager work perfectly when I am logged into the VPS. However, I cannot get this to work when I request that the process be running when the user is logged in or not. I've looked into this and it seems the issue is that when it starts the server, it is considered an interactive program and so Windows is unable to start those programs when not logged on.

Am I correct in this diagnosis of the problem and how can I resolve it? I just want my server to automatically restart when it crashes.

Thanks for your time! Any help would be greatly appreciated but I should clarify that I am quite new at this so I will need very explicit instructions!
Post Reply