mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2024-11-17 04:09:26 +08:00
Compare commits
No commits in common. "6bb9d0d39e64889fd9c17862db89aaa1d9188c0e" and "2ce5382f1f21712b70d3f332df9c097c23d73394" have entirely different histories.
6bb9d0d39e
...
2ce5382f1f
1 changed files with 3 additions and 3 deletions
|
@ -6,17 +6,17 @@
|
|||
@reboot tmux
|
||||
|
||||
# Network mount
|
||||
* * * * * sudo mount.cifs "//255.255.255.0/SAMBA-MOUNT" "/mnt/backups/" -o credentials="/root/.samba/credentials"
|
||||
* * * * * mount.cifs "//255.255.255.0/SAMBA-MOUNT" "/mnt/backups/" -o credentials="/root/.samba/credentials"
|
||||
|
||||
# Start services
|
||||
@reboot sleep 30 && tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
|
||||
# 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
|
||||
0 0 1 * * docker system prune --all --volumes --force
|
||||
|
||||
# ACME
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue