Compare commits

...

2 commits

Author SHA1 Message Date
6bb9d0d39e Update crontab 2024-11-14 01:51:19 +08:00
584ae10429 Update crontab 2024-11-14 01:50:54 +08:00

View file

@ -6,17 +6,17 @@
@reboot tmux @reboot tmux
# Network mount # Network mount
* * * * * mount.cifs "//255.255.255.0/SAMBA-MOUNT" "/mnt/backups/" -o credentials="/root/.samba/credentials" * * * * * sudo mount.cifs "//255.255.255.0/SAMBA-MOUNT" "/mnt/backups/" -o credentials="/root/.samba/credentials"
# Start services # Start services
@reboot sleep 30 && tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh" @reboot sleep 30 && tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
# Backups # Backups
0 */4 * * * tmux new-session -d -s "Borg Backups" bash /root/scripts/backup.sh 0 */4 * * * tmux new-session -d -s "Borg Backups" "bash /root/scripts/backup.sh"
# Docker Cleanup # Docker Cleanup
0 0 1 * * docker system prune --all --volumes --force 0 0 1 * * docker system prune --all --volumes --force
# ACME # ACME
52 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null 52 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
0 */7 * * * tmux new-session -d -s "Acme SSL Updater" bash /root/scripts/acme_ssl.sh 0 */7 * * * tmux new-session -d -s "Acme SSL Updater" "bash /root/scripts/acme_ssl.sh"