Page 1 of 1

Help with email filter

Posted: Wed Jun 25, 2014 10:38 am
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.

Re: Help with email filter

Posted: Wed Jun 25, 2014 6:51 pm
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)"