Nightly Restart Script (tmux) 1.0

Simple cron script that restarts Minecraft servers in tmux sessions with an hour's notice

  1. jflory7
    What is this?
    This is a very simple script that I wrote a while ago that will restart servers inside of tmux sessions according to your specifications. It's lightweight and very straightforward.

    I decided to upload this because I hoped that a server owner who perhaps just moved from using a server panel such as Multicraft to administering their own Linux system might find this useful.

    How do I use it?
    You can schedule this script using crontab for your own server. Using crontab -e, you could add this line to call the script at 3AM for whatever time zone your server is running in.
    Code (Text):
    0 3 * * * /home/minecraft/scripts/
    If you have any questions or concerns, don't be afraid to post in the discussion thread.
    royalkingkb and ferrinweb like this.

Recent Reviews

  1. Mr_Cleric
    Version: 1.0
    Fantastic script! I have been searching for a long time and now I have this, works flawlessly, and easy to understand if you need to tweek anything.
  2. iResy
    Version: 1.0
    This is exactly what i was searching for but can you explain to me how that skript works? (I don't even know what a skript is)
  3. ferrinweb
    Version: 1.0
  4. ItsDesox
    Version: 1.0
    nice little script
    1. jflory7
      Author's Response
      Glad you found it useful. If you have any suggestions or ideas, feel free to leave them in the discussion thread if you feel this resource isn't worth five stars.