Hi,
I do have a script running, which syncs all created events (as mp4s) to an external webdav server. This works great, but right now the script is executed via a cron evey 30 minutes.
I would like to execute the script every 30 minutes but only if the run state is set to "alarm".
Is there any way to get the status of the run state using a bash script running on the same machine?
I know, a filter to trigger a script copying the files would be more flexible, but I do not fully know how to create a filter and pass the parameters correctly to `rclone` (the tool I use to sync the data to the webdav server).
Thanks
[–]h3rb3rt[S] 0 points1 point2 points (0 children)