|
Page 1 of 1
|
[ 6 posts ] |
|
saved filters, there should be a warning
| Author |
Message |
|
river100
Joined: Sun Oct 07, 2007 6:52 pm Posts: 70 Location: Louisiana
|
 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 |
|
|
|
 |
|
river100
Joined: Sun Oct 07, 2007 6:52 pm Posts: 70 Location: Louisiana
|
 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 |
|
 |
|
Flasheart
Joined: Thu Jul 06, 2006 3:27 pm Posts: 322
|
 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 |
|
 |
|
river100
Joined: Sun Oct 07, 2007 6:52 pm Posts: 70 Location: Louisiana
|
 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 |
|
 |
|
river100
Joined: Sun Oct 07, 2007 6:52 pm Posts: 70 Location: Louisiana
|
 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 |
|
 |
|
river100
Joined: Sun Oct 07, 2007 6:52 pm Posts: 70 Location: Louisiana
|
 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 |
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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
|
|