What I have noticed (not sure if this is new to the version) is that the only background filter that is running is the "UpdateDiskSpace" filter.
I have a background filter that is supposed to purge older events "PurgeOlderThan1Days" that should run but does not seem to.
If I "List matches" from the filter screen it lists the matches correctly.
If I "Execute" from the filter screen it deletes matches correctly.
If I run if from command line using "zmfilter.pl --filter=PurgeOlderThan1Days it works perfectly, deleting events as required.
However, even after "saving" and checking "Run filter in background" and the filter showing the asterisk to indicate it's a background filter, it just doesn't seem to run.
Looking at /var/log/zm
it seems that this filter hasn't run since it was created... in fact only the "UpdateDiskSpace" - filter_id=2 seems to run:
Code: Select all
root@zoneminder:/var/log/zm# ls -alt | grep -i filter
-rw-rw-r-- 1 www-data www-data 0 Oct 24 00:00 zmfilter_2.log
-rw-rw-r-- 1 www-data www-data 49087835 Oct 23 12:01 zmfilter_2.log.1
-rw-rw-r-- 1 www-data www-data 4696292 Oct 22 23:59 zmfilter_2.log.2.gz
-rw-rw-r-- 1 www-data www-data 3640624 Oct 22 00:00 zmfilter_2.log.3.gz
-rw-r--r-- 1 www-data www-data 0 Oct 21 10:31 zmfilter_8.log
-rw-rw-r-- 1 www-data www-data 0 Oct 7 08:17 zmfilter_1.log
-rw-r--r-- 1 www-data www-data 0 Oct 6 10:38 zmfilter_5.log
-rw-rw-r-- 1 www-data www-data 129 Oct 6 00:02 zmfilter_1.log.1
-rw-rw-r-- 1 www-data www-data 1411 Oct 5 23:59 zmfilter_1.log.2.gz
-rw-r--r-- 1 www-data www-data 0 Sep 26 08:26 zmfilter_4.log
-rw-r--r-- 1 www-data www-data 0 Apr 9 2022 zmfilter.log
-rw-r--r-- 1 www-data www-data 46680 Apr 7 2022 zmfilter.log.1
-rw-r--r-- 1 www-data www-data 0 Mar 16 2022 zmfilter_3.log
-rw-r--r-- 1 www-data www-data 99 Mar 14 2022 zmfilter_3.log.1
thanks
James