Hi All,
I am just having a little problem with my server filling up with footage.
I have 3 filters in place, one archives footage after 7 days, the next deletes footage that is 14 days old and then when the server gets to 90% full it should delete all archived footage.
When I saved each of these rules I ticked the background tick box. Does this mean that they are running regulary? or is there something else I have to do to schedule these in?
Any help would be appreciated.
Thanks in advance.
ZM Back Ground Processes ...
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Thanks for that, I have now checked the log and have found that an external command that I am putting in is stopping it from working (the other 2 filters are working fine.
If I wanted to do something like this:
echo body | /usr/bin/mailx -r zm@blah.com -s "Purge notification" support@blah.com
How would I do that, I don't seem to be able to use quotes in the command line. I have tried something this but still no go:
echo body | /usr/bin/mailx -r zm@blah.com -s Purge_Notification support@blah.com
Any ideas?
If I wanted to do something like this:
echo body | /usr/bin/mailx -r zm@blah.com -s "Purge notification" support@blah.com
How would I do that, I don't seem to be able to use quotes in the command line. I have tried something this but still no go:
echo body | /usr/bin/mailx -r zm@blah.com -s Purge_Notification support@blah.com
Any ideas?
Ok, I think it is running as I am now getting getting emails, I think it is processing it for each item being deleted, would that be correct?
The other thing is that I am getting errors in zmfilters.log, they look something like:
12/04/07 13:45:56.800097 zmfilter[3442].ERR [Unable to delete event 14289 as previous operations failed]
12/04/07 13:45:56.800509 zmfilter[3442].DBG [Checking event 14290]
12/04/07 13:45:56.800652 zmfilter[3442].INF [Executing '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14290']
12/04/07 13:45:56.938054 zmfilter[3442].DBG [Output: ]
12/04/07 13:45:56.938216 zmfilter[3442].ERR [Command '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14290' exited with status: 1]
12/04/07 13:45:56.938624 zmfilter[3442].ERR [Unable to delete event 14290 as previous operations failed]
12/04/07 13:45:56.939091 zmfilter[3442].DBG [Checking event 14294]
12/04/07 13:45:56.939237 zmfilter[3442].INF [Executing '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14294']
12/04/07 13:45:57.096974 zmfilter[3442].DBG [Output: ]
12/04/07 13:45:57.097148 zmfilter[3442].ERR [Command '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14294' exited with status: 1]
12/04/07 13:45:57.097548 zmfilter[3442].ERR [Unable to delete event 14294 as previous operations failed]
12/04/07 13:45:57.097946 zmfilter[3442].DBG [Checking event 14295]
12/04/07 13:45:57.098090 zmfilter[3442].INF [Executing '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14295']
The other thing is that I am getting errors in zmfilters.log, they look something like:
12/04/07 13:45:56.800097 zmfilter[3442].ERR [Unable to delete event 14289 as previous operations failed]
12/04/07 13:45:56.800509 zmfilter[3442].DBG [Checking event 14290]
12/04/07 13:45:56.800652 zmfilter[3442].INF [Executing '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14290']
12/04/07 13:45:56.938054 zmfilter[3442].DBG [Output: ]
12/04/07 13:45:56.938216 zmfilter[3442].ERR [Command '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14290' exited with status: 1]
12/04/07 13:45:56.938624 zmfilter[3442].ERR [Unable to delete event 14290 as previous operations failed]
12/04/07 13:45:56.939091 zmfilter[3442].DBG [Checking event 14294]
12/04/07 13:45:56.939237 zmfilter[3442].INF [Executing '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14294']
12/04/07 13:45:57.096974 zmfilter[3442].DBG [Output: ]
12/04/07 13:45:57.097148 zmfilter[3442].ERR [Command '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14294' exited with status: 1]
12/04/07 13:45:57.097548 zmfilter[3442].ERR [Unable to delete event 14294 as previous operations failed]
12/04/07 13:45:57.097946 zmfilter[3442].DBG [Checking event 14295]
12/04/07 13:45:57.098090 zmfilter[3442].INF [Executing '/bin/echo body | /usr/bin/mailx -r zoneminder@rfdsse.org.au -s RFDS_Zoneminder_Disk_Purge jhennessy@comunet.com.au 3/14295']
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact: