|
|
@ -13,7 +13,8 @@ day=$(date +%d) |
|
|
|
month=$(date +%m) |
|
|
|
year=$(date +%Y) |
|
|
|
# check if any players are currently logged in |
|
|
|
players=$(mcbe-exec list | cut -d ' ' -f 3 | cut -d '/' -f 1) |
|
|
|
mcbe-exec list > /dev/null |
|
|
|
players=$(mcbe-exec list | head -n 1 | cut -d ' ' -f 3 | cut -d '/' -f 1) |
|
|
|
|
|
|
|
# cd to backup dir |
|
|
|
cd /vol/data/backup |
|
|
|