From 584ae10429ab03d9e34f385c9b9e88ad56a60c1f Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 14 Nov 2024 01:50:54 +0800 Subject: [PATCH] Update crontab --- roles/files/debian/setup/crontabs/root | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/files/debian/setup/crontabs/root b/roles/files/debian/setup/crontabs/root index f0a2f77..4c29491 100644 --- a/roles/files/debian/setup/crontabs/root +++ b/roles/files/debian/setup/crontabs/root @@ -6,7 +6,7 @@ @reboot tmux # 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 @reboot sleep 30 && tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"