Help with email filter

Forum for questions and support relating to the 1.27.x releases only.
Locked
Bedlore
Posts: 2
Joined: Wed Jun 25, 2014 10:28 am

Help with email filter

Post by Bedlore »

Hello

I'm trying to fine tune when zoneminder fires email to me. Ideally I only want alert emails between 5:30pm and 7:30am. I tried this:

Monitor id equal to 1 AND (TIME greater than 17:30:01 AND TIME less than 7:30:59)

But its not working, can someone help please.
mikb
Posts: 702
Joined: Mon Mar 25, 2013 12:34 pm

Re: Help with email filter

Post by mikb »

I don't like the logic of that time bit.

There are no times greater than 17:30, that are ALSO less than 7:30 ... think about it. Those limits make sense to you as a human, but not to a machine :)

Do you mean "AND ( NOT (TIME greater than 7:30 AND TIME less than 17:30) )" i.e. (and not during the day)

Or another way .... "AND (TIME greater than 17:30 OR TIME less than 7:30)"
Locked