I am using the following code for task scheduler to auto delete FTP video recordings of surveillance cameras.
find /volume1/VideoCameraRecordings/ -type f -mtime +7 -delete
find /volume1/VideoCameraRecordings/ -depth -type d -exec rmdir {} \; 2>/dev/null
It works great however when the task...
I created several tasks on my nas such as running smart test once a month etc. Somehow I created once to backup my NAS's configuration file but for some reason the log reports it as failed. Trouble is I can't find the sucker to see why it's failing other than the log shows the connection...
I have a docker container that syncs - want to run it every hour - I tried to run it from task scheduler with this command:
docker container start gphotos-sync
and got this:
Got permission denied while trying to connect to the Docker daemon socket at ....
I tried adding a sudo and it's...
Hello to everyone,
I had a DS214 for many years and I was very happy with its features. But I needed more space and more disks, so I upgraded to DS918 + a few days ago. And because I try to make the most of my equipment, I also started using also the Docker and in it jacobalberty UniFi...
Does anyone know how to get the output of a script into the task scheduler 'Run Result' window ?
eg if I run a simple script that echoes 'Hello' in the terminal, I presume this is stdout ?
Yet when run in Task Scheduler, both the 'Script:' and 'Standard output/error:' boxes are empty...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.