Update crontab

This commit is contained in:
Luna 2021-07-16 12:50:20 -03:00 committed by GitHub
parent 33de016852
commit ac432a145a
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 && /bin/su server -c '~/framework/script/init.sh'
@reboot sleep 30 && su server -c '~/framework/script/init.sh'
# Reset and reboot the server every 24 hours (0 0 * * * / at 00:00)
0 0 * * * /bin/su server -c '~/framework/script/reset.sh' && /sbin/reboot --reboot
0 0 * * * su server -c '~/framework/script/reset.sh' && /sbin/reboot --reboot