diff --git a/README.md b/README.md index 4999257..fdd8806 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Capture one frame even outside the allowed window: python3 fern_timelapse.py capture \ --camera-host 10.1.1.33 \ --camera-user admin \ - --camera-password 'mirekadmin' \ + --camera-password 'PASSWD' \ --camera-path /stream1 \ --output-dir /mnt/main-pool/Mirek/kamera \ --ignore-window @@ -62,7 +62,7 @@ Your current camera parameters, assuming the RTSP path is `/stream1`: python3 fern_timelapse.py capture \ --camera-host 10.1.1.33 \ --camera-user admin \ - --camera-password 'mirekadmin' \ + --camera-password 'PASSWD' \ --camera-path /stream1 \ --output-dir /srv/fern-timelapse/captures \ --window-start 10:00 \ @@ -85,7 +85,7 @@ python3 fern_timelapse.py compile \ This entry runs every 10 minutes during the 6-hour daylight window and should produce about 36 frames per day: ```cron -*/10 10-15 * * * /usr/bin/python3 /home/ms/projekty/paproc-rt/fern_timelapse.py capture --camera-host 10.1.1.33 --camera-user admin --camera-password 'mirekadmin' --camera-path /stream1 --output-dir /srv/fern-timelapse/captures --window-start 10:00 --window-end 16:00 >> /srv/fern-timelapse/cron.log 2>&1 +*/10 10-15 * * * /usr/bin/python3 /home/ms/projekty/paproc-rt/fern_timelapse.py capture --camera-host 10.1.1.33 --camera-user admin --camera-password 'PASSWD' --camera-path /stream1 --output-dir /srv/fern-timelapse/captures --window-start 10:00 --window-end 16:00 >> /srv/fern-timelapse/cron.log 2>&1 ``` If you prefer a simpler cron expression, you can also run it more broadly and let the script self-skip outside the window.