Update crontab

This commit is contained in:
Luna 2021-07-16 12:48:54 -03:00 committed by GitHub
parent 02e670e14d
commit 33de016852
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# Start the Minecraft server after an OS reboot
@reboot sleep 30 && /usr/bin/su server -c '~/framework/script/init.sh'
@reboot sleep 30 && /bin/su server -c '~/framework/script/init.sh'
# Reset and reboot the server every 24 hours (0 0 * * * / at 00:00)
0 0 * * * /usr/bin/su server -c '~/framework/script/reset.sh' && /usr/sbin/reboot --reboot
0 0 * * * /bin/su server -c '~/framework/script/reset.sh' && /sbin/reboot --reboot