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
|