folder2archive/install.sh

9 lines
239 B
Bash
Raw Normal View History

2023-04-18 15:32:41 +02:00
#!/bin/bash
2023-04-18 15:29:50 +02:00
cd /opt/
git clone https://git.moelle.space/hxcde/folderarchive.git
2023-04-18 15:32:18 +02:00
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