Auto-restart mod for linux?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

Holmis87

New Member
Jul 18, 2020
4
0
2
What auto-restart mods do you use on linux?
we are looking for a mod that can restart the server every night
 

grandrolf

Global moderator
Team Member
Global Moderator
Trusted User
Aug 29, 2014
2,622
241
133
sweden
Crontab and a bash script can sort that out for you.

If you don't know how, search for it and read up on how to set that up - there's a lot of examples around.

And if this is for a modded server - you might want to restart more often than 1 time per day, every 4-6 hours depending on the pack, you can do a count down via the bash script so there's messages sent from the server in-game for players to see.