cd /home/tlavocat/dev/camera while : do source .venv/bin/activate python3 camera.py curl -u 'thomas:)eCi;@R;dFaH9qr' -T filename.jpg https://nextcloud.chaussette.sale/remote.php/dav/files/thomas/Monitoring/$(date '+%Y-%m-%d_%H:%M:%S').jpg sleep 5m done