estiaan1234 Posted November 9, 2019 Share Posted November 9, 2019 Hi Guys, My Server has been crashing a lot lately can anyone help me out how to create a cronjob for this? Linux Dedicated Server my game is saved to $HOME/steamcmd/7daysded/./startserver.sh i need this cron job to run every 5 minutes to check if process 7DaysToDie_86x_64x is running and if not start $HOME/steamcmd/7daysded/nohup ./startserver.sh Link to comment Share on other sites More sharing options...
Prisma501 Posted November 10, 2019 Share Posted November 10, 2019 I would strongly advise using LGSM https://linuxgsm.com/ It has a monitor you can setup a cronjob for. It will autostart your server when down. Guide for lgsm install: https://docs.csmm.app/en/7D2D/server-setup.html#installation-of-gameserver-software-and-scripts Info on the cronjob for monitor of lgsm: https://docs.linuxgsm.com/commands/monitor Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.