I"m looking for a hand in setting up a filter on a monitor that will delete all events older than say 10 days .
I fiddled with it for some time now and have gotten closer to no where.
Thanks
Allan
Delete Filter X# of days old
This is a lot easier than you would think (and it works), do this:
- - Press the Filters button in the bottom left of the main screen
- In the new window do 'Date/Time' _ 'Less Than' _ '-10 day' (note the - minus - sign before the 10)
- Do the plus sign
- and then: 'Archive Status' _ 'Equal to' _ 'Unarchived only'
- Check 'Delete all matches'
- Click Save in top-right
- Give it a name
- Check 'Run in background'
-
- Posts: 1
- Joined: Thu Jul 02, 2009 6:03 am
I will thank you too 50cc because I got also the information that i need in your answer.,
_________________
Furnace filter
_________________
Furnace filter
Using a recent install of zoneminder on ubuntu 9.04, when creating the above defined filter i have no issues.
however when it runs in the background, i get an error in zmfilter.log:
however when it runs in the background, i get an error in zmfilter.log:
Code: Select all
07/30/09 07:36:12.965897 zmfilter[8902].ERR [Error parsing date/time '-2', skipping filter 'Delete2Day']
07/30/09 07:42:12.971954 zmfilter[8902].ERR [Unable to parse date string '-2']
-
- Posts: 1
- Joined: Sun Sep 13, 2015 5:01 am
Re:
This is Very helpful form me, but still not what I needed. I have a similar deleter that doesn't have much of a command line parser, but it uses the pipeline filter pattern to easily add in more filters. I needed files beginning with numeric, files whose names were guides etc.
Thanks !!
Thanks !!