View unanswered posts | View active topics It is currently Sat Nov 01, 2014 2:47 pm



Reply to topic  [ 7 posts ] 
saved filters, there should be a warning 
Author Message

Joined: Sun Oct 07, 2007 6:52 pm
Posts: 80
Location: Louisiana
Post saved filters, there should be a warning
I wanted to run the saved filters using cron instead of the web interface.
this way i can set the time of day it's run.
I tested this by issuing the command /usr/bin/zmfiltet.pl -f PurgeWhenFull
it worked, deleting the amount of events listed in the PurgeWhenFull filter.

So, I set the time to run saved filters to 0, thinking that it would not run.
this deleted all of my 57,000
events from the database. soon to be deleted by zmaudit.pl

I think there should be some kind of warning in the options section for this setting.
This on VERS 1.23.3 I'd be willing to bet there is no warning for other versions.


Sun Dec 23, 2012 10:01 am
Profile

Joined: Sun Oct 07, 2007 6:52 pm
Posts: 80
Location: Louisiana
Post Re: saved filters, there should be a warning
just checked, no warning in vers 1.25.0 ubuntu repos
when you click on the ? for how often to are saved filters
reloaded.
put a 0 in there and your events are poof


Sun Dec 23, 2012 10:09 am
Profile

Joined: Thu Jul 06, 2006 3:27 pm
Posts: 341
Post Re: saved filters, there should be a warning
Sucks that this nuked your events, but this is probably logical behavior. Entering undefined data and expecting 0 to mean something undocumented isn't sensible - although certainly no harm as a suggestion for a warning in future versions, should there be any.

BTW, I've deleted your duplicate post. Appreciate your wish to warn people, but spamming the forums isn't cool.


Mon Dec 24, 2012 8:56 am
Profile

Joined: Sun Oct 07, 2007 6:52 pm
Posts: 80
Location: Louisiana
Post Re: saved filters, there should be a warning
Ya, I wasn't trying to stomp my feet or be a jerk. But did think that people using vers 1.24 1.25.
may not ever see the warning.
By the way I do know that the way to do that would be to turn off running.
Saved filters.


Tue Dec 25, 2012 1:35 am
Profile

Joined: Sun Oct 07, 2007 6:52 pm
Posts: 80
Location: Louisiana
Post Re: saved filters, there should be a warning
0 is a valid entry through out zoneminder settings btw.


Tue Dec 25, 2012 1:37 am
Profile

Joined: Sun Oct 07, 2007 6:52 pm
Posts: 80
Location: Louisiana
Post Re: saved filters, there should be a warning
Like I mentioned, was not mad,
just thought people should be
warned.
The info in those little pop ups is great. While searching the forums I couldn't find any info on running filters using cron. In
fact saw some mentions of I wish there was a way to do that. So I'll be posting my method of controlling filters.
in setups that need a to dictate when then PurgeWhenFull filter is run.
Its probably not mentioned much because its a nobrainer for some. But not in the face of all.


Tue Dec 25, 2012 2:02 am
Profile

Joined: Tue Sep 24, 2013 6:59 am
Posts: 1
Post Re: saved filters, there should be a warning
Thanks, that is the kind of help I like.Yes I will do Gutsy if I have to. Thanks again. :)

_________________
maria


Tue Sep 24, 2013 7:11 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group