Auto restart Linux server and crash check

Hello everyone!

I have made a tutorial how to auto reboot your server.

if you follow my tutorial everything will work.

https://github.com/TanguyOrtegat/AutomaticLinuxReboot

if you have any questions don’t hesitate to ask me!

cheers!

3 Likes

EDIT: crash check added every minute!

Is the crash check “*/2 * * * * bash /root/CheckCrashServer.sh >> /var/log/fxreload/fxreloadlog”?
Because when I add that to cron it says that the file has an invalid minute or something like that so it can’t be installed.

I use this to start the server up which works fine but server doesn’t start back up on restart.
bash /root/fx-server-data/cfx-server-data-master/RunServer.sh +exec server.cfg