Skip to content

Instantly share code, notes, and snippets.

@calebjones
Created August 14, 2015 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calebjones/81c7d5c998756b1e32c6 to your computer and use it in GitHub Desktop.
Save calebjones/81c7d5c998756b1e32c6 to your computer and use it in GitHub Desktop.
Linux Minecraft server crontab config
# Minute Hour Day of Month Month Day of Week Command
# (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat)
# backup server every day at 4am
0 4 * * * /home/minecraft/minecraft/bin/minecraft backup
# clean daily backups (keep daily last 7 days, weekly for last 30 days, then once a month)
30 4 * * * /home/minecraft/clean-daily-backups.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment