Is there a way to make Zoneminder starup and have the processes running at startup of the computer?
Is there an easy way to automate the deletion of older events? I've run a cron job to delete files and then run zmaudit to purge the database. I was thinking theirs might be a better way to do this.
Starting and Cleanup....
- victor_diago
- Posts: 245
- Joined: Wed Jan 21, 2004 2:44 pm
- Location: Brazil, sao paulo
- Contact:
hi.
Yes, its easy to make it start, just put "zmpkg.pl start" in your rc.local or any other startup script.
about deleting old files, i have posted a script called autoclean that do this, but im actually REWRITTING it to be faster.
there is a better way, just using mysql and deleting not the files and directories itself, but deleting data records in the database. you can do that by using a LIKE with SELECT.
i will release the new version in a few days, but you can use my old script while wait.
victor diago
Yes, its easy to make it start, just put "zmpkg.pl start" in your rc.local or any other startup script.
about deleting old files, i have posted a script called autoclean that do this, but im actually REWRITTING it to be faster.
there is a better way, just using mysql and deleting not the files and directories itself, but deleting data records in the database. you can do that by using a LIKE with SELECT.
i will release the new version in a few days, but you can use my old script while wait.
victor diago
from version 1.19.2 there is the possibility to use filters to auto-delete old events, see http://www.zoneminder.com/index.php?id= ... tt_news=29
howtos:
http://www.zoneminder.com/forums/viewto ... gewhenfull
http://www.zoneminder.com/forums/viewto ... gewhenfull
davide,
howtos:
http://www.zoneminder.com/forums/viewto ... gewhenfull
http://www.zoneminder.com/forums/viewto ... gewhenfull
davide,
- victor_diago
- Posts: 245
- Joined: Wed Jan 21, 2004 2:44 pm
- Location: Brazil, sao paulo
- Contact:
this is really a good thing, but when you use that you say : when disk usage is 99 % then flash old events.
this is ok, but in 120 GB Disks, 1 % of storage is 1.2 GB, a GOOD amount of disk.
my script will let you to set "clean events when disk free amount is less than X MB"
i think this is preferable.
victor diago
this is ok, but in 120 GB Disks, 1 % of storage is 1.2 GB, a GOOD amount of disk.
my script will let you to set "clean events when disk free amount is less than X MB"
i think this is preferable.
victor diago
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: