(SOLVED) Cannot run script via Filters
Posted: Tue Apr 28, 2020 7:47 pm
Hi,
I am trying to run a bash-script when on all matches. It is setup like this:
Monitor id - in set - 1,2,3,4
Execute command on all matches is checked and script is /usr/bin/script.sh.
I have tried setting permissions with chmod 777.
It works when running "zmfilter.pl --filter_id=3". But it won't work when running via Execute on web or in background.
Any idea?
Thanks in advance!
[Edit]
I had to specify '/usr/bin/rclone' instead of just rclone in my script. Otherwise www-data wasn't allowed to run it.
I am trying to run a bash-script when on all matches. It is setup like this:
Monitor id - in set - 1,2,3,4
Execute command on all matches is checked and script is /usr/bin/script.sh.
I have tried setting permissions with chmod 777.
It works when running "zmfilter.pl --filter_id=3". But it won't work when running via Execute on web or in background.
Any idea?
Thanks in advance!
[Edit]
I had to specify '/usr/bin/rclone' instead of just rclone in my script. Otherwise www-data wasn't allowed to run it.