forked from msmhq/msm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
msm
22 lines (17 loc) · 757 Bytes
/
msm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Minecraft Server Manager Cron
#
# Backs up worlds, rolls logs, moves worlds in RAM to disk,
# and starts crashed servers
#
# For more information visit the project home page:
# http://marcuswhybrow.github.com/minecraft-server-manager
#
# Backs up all worlds for all servers at 2 minutes past 5 in the morning
02 05 * * * minecraft /etc/init.d/msm all worlds backup
# Rolls the logs for all servers at 55 minutes past 4 in the morning
55 04 * * * minecraft /etc/init.d/msm all logroll
# Moves all "in RAM" worlds to disk every half hour for all servers
*/30 * * * * minecraft /etc/init.d/msm all worlds todisk
# Start any crashed servers again each hour
@hourly minecraft /etc/init.d/msm start