Files
Server-scripts/serverhost/cal_blumen.sh
T
2026-09-14 12:43:38 +02:00

11 lines
317 B
Bash
Executable File

#!/bin/bash
backup_cal_blumen="/home/lucas/calender_blumen_$(date -d "today" +"%m%d").ics"
export WGETRC="/home/lucas/.wgetrc"
wget -q --no-check-certificate -O "$backup_cal_blumen" "https://someoneslinux.ddns.net/remote.php/dav/calendars/lucas/blumen?export"
if [ $? -eq 0 ]; then
echo "Download Succesfull"
fi