From 7890f961361402445e6abb2b41807af116c4ab3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Tue, 18 Apr 2023 15:32:18 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Einstall.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e8ec409..116ca2d 100644 --- a/install.sh +++ b/install.sh @@ -1,3 +1,7 @@ cd /opt/ git clone https://git.moelle.space/hxcde/folderarchive.git -0 13 * * * sh /opt/folderarchive/zip_folder_daily.sh +chmod +x /folderarchive/zip_folder_daily.sh +crontab -l > mycron +echo "0 13 * * * sh /opt/folderarchive/zip_folder_daily.sh" >> mycron +crontab mycron +rm mycron \ No newline at end of file