Filter Time Format

Forum for questions and support relating to the 1.29.x releases only.
Locked
fm3391
Posts: 6
Joined: Mon May 23, 2016 3:20 pm

Filter Time Format

Post 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?
mikb
Posts: 661
Joined: Mon Mar 25, 2013 12:34 pm

Re: Filter Time Format

Post 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 :)
fm3391
Posts: 6
Joined: Mon May 23, 2016 3:20 pm

Re: Filter Time Format

Post 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!
Locked