0

I am running a dedicated Minecraft server, and I want it to restart every night at midnight. I'm running it in a screen session so I can easily access it. However, if I just run screen -X -S server quit, it does not save the world. I will use cron to restart it every night.

1

Seems to make sense to backup the world before shutting down the screen session.

I would think this would help: http://www.scaine.net/site/2013/08/backing-up-your-minecraft-server-in-ubuntu%EF%BB%BF%EF%BB%BF/

or this: https://forum.feed-the-beast.com/threads/minecraft-custom-linux-backups-using-crontab-and-screen.45575/

| improve this answer | |
  • Please take a few minutes to read this post. – David Oct 23 '19 at 1:26
  • 1
    Point taken, I was just trying to be helpful. Thanks! – Fuzzie Vohs Oct 23 '19 at 16:25
  • 1
    I completely understand - and to an extent, the links are helpful, but if they ever go down... Thank you for your contribution :) – David Oct 23 '19 at 17:48
1

Filing this under "Who Knew?" on Stack Exchange we have a sister-site called Arcade where your question has an answer:

On our sister-site Unix & Linux there is this answer:

This will probably suit your needs better.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.