Where's the script itself?
All the info, including the script is here:
https://github.com/acolomba/blackvuesync
I wasn't able to get the docker image for this to run properly. I didn't use the Task Scheduler, but I have actually have added the task to crontab to run it every hour.
There is no crontab editor available on the synology nas, so you can copy from /etc/crontab, edit it somewhere else, and then copy it back.
- Enable ssh login in your "Control Panel" >> "Terminal & SNMP"
- Create a user that has Admin capability
- Use that user to ssh into your NAS: ssh YOUR_USERNAME@YOUR_NAS_IP
- Once there, type "sudo su -" ENTER, then "cd /etc" ENTER, then "cp crontab /volume1/ONE_OF_YOUR_SHARES"
- Copy the blackvuesync.py file (see first sentence) to that same share (ONE_OF_YOUR_SHARES)
- Go edit the crontab file and add: "0 * * * * root /bin/python /volume1/ONE_OF_YOUR_SHARES/blackvuesync.py 192.168.1.152 --destination /volume1/ONE_OF_YOUR_SHARES --keep 2w --grouping weekly"
- rsh back to you nas, do "sudo su -" again, and copy the crontab file back: "cp /volume1/ONE_OF_YOUR_SHARES/crontab /etc/crontab", then type "synosystemctl restart crond" to get cron to read the new file.
That's it.