Hi.
ZoneMinder 1.25.0-4 on Debian 7.0.
Would someone please tell me what the syntax is for using "Execute command on all matches" on an event filter? Does it require a Perl script, and if so does it need to be somewhere specific? What's the easiest way to execute a plain old shell script?
Right now I'm just trying to run a very simple shell script which creates a text file (I've double-checked rights issues). In case you didn't guess, I'm not a Perl programmer.
Thank you.
Jon
Command Syntax
Re: Command Syntax
I figured this would be a simple answer, but if not, is it possible for someone to post a simple script that works on their system?
And (trying not to overlook anything obvious), I check the "execute a command" box and I assume that the field that's to the right of this box is meant to be used to enter a path to a script, yes?
I've read and reread section 7.7 of the Documentation on the Wiki, but didn't see anything there. If there's somewhere else to look, I'd appreciate any suggestions. Apologies if this seems simplistic. Doesn't appear to be much in the area of "how-to" in the manual, but more a general explanation of features.
I'm not looking for an essay, just something like "yes, it has to be Perl." or "a path/file to any shell script should work".
Thanks, and apologies if I missed something obvious on the Wiki.
And (trying not to overlook anything obvious), I check the "execute a command" box and I assume that the field that's to the right of this box is meant to be used to enter a path to a script, yes?
I've read and reread section 7.7 of the Documentation on the Wiki, but didn't see anything there. If there's somewhere else to look, I'd appreciate any suggestions. Apologies if this seems simplistic. Doesn't appear to be much in the area of "how-to" in the manual, but more a general explanation of features.
I'm not looking for an essay, just something like "yes, it has to be Perl." or "a path/file to any shell script should work".
Thanks, and apologies if I missed something obvious on the Wiki.
Re: Command Syntax
Nevermind, I figured this out. I didn't have the correct shell specified for www-data.
Shell scripts work fine.
Shell scripts work fine.