nextcloud_hardening/etc/crontab
hhftechnologies 307beae924 update
2024-10-21 13:51:04 +05:30

11 lines
No EOL
448 B
Text

# Created by running "crontab -e" as sudo user!!!
[...]
5 3 * * * /root/backup.sh > /root/backup.txt
@daily /usr/bin/journalctl --vacuum-size=2G > /dev/null 2>&1
@reboot sleep 30 && /usr/bin/systemctl enable --now notify_push
@reboot sleep 45 && /usr/bin/systemctl restart notify_push
# Optional:
# 15 3 * * 0 /usr/bin/geoipupdate && /bin/systemctl reload nginx.service > /dev/null 2>&1
# @weekly /root/renewal.sh > /var/log/renewal.log 2>&1
[...]