Page 1 of 1

Filter Time Format

Posted: Mon Jun 13, 2016 3:38 pm
by fm3391
I am trying to get a filter to fire at a specific time on a specific day. I current am setting the filter as so:
Weekday -> equal to -> Monday
and Time -> equal to -> 08:00:00

Basically I am wanting the filter to fire on Monday at 8 am. I currently am getting it to execute a SQL query that will make a change to the database upon firing. I gave it the user and password for the MySQL db with the correct privileges. I have manually tested the query and confirmed it works. This is the command I am getting it to execute BTW:
MySQL -u user -ppassword -e "USE zm; UPDATE Monitors SET Function = 'Modect' WHERE Id = 3;"

Any suggestions?

Re: Filter Time Format

Posted: Mon Jun 13, 2016 5:21 pm
by mikb
If I've understood you correctly ...

The filter time specification is not "when the filter will run" but "what event spec will be caught in the filter".

It will run whenever ZM deems it necessary (either because you fired it manually, or because it is set to 'background' and it's (n) minutes since it last ran)

So your filter will catch all camera events that happened on a Monday at 8:00:00.

You may need another approach here :)

Re: Filter Time Format

Posted: Mon Jun 13, 2016 7:06 pm
by fm3391
mikb wrote:If I've understood you correctly ...

The filter time specification is not "when the filter will run" but "what event spec will be caught in the filter".

It will run whenever ZM deems it necessary (either because you fired it manually, or because it is set to 'background' and it's (n) minutes since it last ran)

So your filter will catch all camera events that happened on a Monday at 8:00:00.

You may need another approach here :)

Awesome! That's what I needed to know! I guess I was trying to use the filter incorrectly. That explanation was perfect!