Script that will stop all servers.
IdkMan2 last edited by
Hello guys, I am looking for a script that will stop all servers on the node (or just one by one).
I have already found this:
.. and this:
.. but non of this gives me a clue how to do that. I know how to use a cron tab to setup this things at preferred time, but don't know why this is not working for me:
curl -k -X "GET" "https://scaleserver:5656/server/power/restart" -H "X-Access-Server: YourXAccessCodeHereOfTheFirstServer" -H "X-Access-Token: YourXAccessTokenOfTheFistServer";
scaleserver - is the correct domain name which i have defined during PufferPanel instalation (or localhost)
5656 - is the Node HTTP Port
YourXAccessCodeHereOfTheFirstServer - is the Server UUID
YourXAccessTokenOfTheFistServer - don't know what it is..? Already tryied secred password for Remote Connection.
Still not working. I have tryied to achieve result in many ways, non of them gives me success.
Please have mercy, I have installed PufferPanel yesterday.