Automate server restart

(ASD) #1

Hi All,

As the multiplay autorestart feature does only restart if the server is empty It will not restart if the server has issues ( Server issue )

Anyone here who has some knowledge and can support me with the following Idea:
I just want to run by cron some simple script which does restart the server by using the multiplay webpage restart button.

Partially I have this already working but it only works for some time… then a (session/cockie/whatever) expieres/happen and it does no longer work.

So I’m searching for completely automate this
curl … login and take (session/cockies/whatever) for next step
curl … press the restart button

If YOU can support here I would love to red some PM from you