Search found 7 matches

by zappbrannigan
Fri Aug 16, 2013 3:12 am
Forum: ZoneMinder 1.24.x
Topic: Zoneminder executing a script
Replies: 0
Views: 2248

Zoneminder executing a script

I want to set up my zoneminder so that when ZM starts it, in turn, starts up a program that I wrote. Presently, I have a cron job that runs every minute to check whether ZM is running (via 'ps'). This makes my syslog file rather noisy and I'd prefer something "cleaner". I suppose I could, ...
by zappbrannigan
Sun Jun 06, 2010 4:26 pm
Forum: ZoneMinder Previous Versions
Topic: Resetting Event Number??
Replies: 14
Views: 14777

Alternatively, you can also use truncate table as it will reset the auto increment number as well. http://dev.mysql.com/doc/refman/5.0/en/truncate.html Well, that seems to have done it. Thanks. Just to tie everything up nice and neat: # /etc/init.d/zoneminder stop # mysql zm mysql> TRUNCATE TABLE E...
by zappbrannigan
Wed Jun 17, 2009 3:52 am
Forum: ZoneMinder Previous Versions
Topic: Resetting Event Number??
Replies: 14
Views: 14777

Alternatively, you can also use truncate table as it will reset the auto increment number as well. http://dev.mysql.com/doc/refman/5.0/en/truncate.html Well, that seems to have done it. Thanks. Just to tie everything up nice and neat: # /etc/init.d/zoneminder stop # mysql zm mysql> TRUNCATE TABLE E...
by zappbrannigan
Thu Jun 11, 2009 10:53 pm
Forum: ZoneMinder Previous Versions
Topic: Resetting Event Number??
Replies: 14
Views: 14777

Re: Resetting Event Number??

Well, nothing seems to have been broken, however... It did purge all the image files which I did expect but the ID number wasn't reset. (If you're in "record" mode and you open a watch window there's a list of events each with an ID number. I was hoping to reset that number but no such luc...
by zappbrannigan
Thu Jun 11, 2009 5:31 am
Forum: ZoneMinder Previous Versions
Topic: Resetting Event Number??
Replies: 14
Views: 14777

Re: Resetting Event Number??

If the images are deleted, that's okay.

The question still stands, how do I zero the event count?

TIA,
eric
by zappbrannigan
Thu Jun 11, 2009 3:48 am
Forum: ZoneMinder Previous Versions
Topic: Time limited recording
Replies: 1
Views: 1701

Time limited recording

Is there a way to do the following:
1 Record for a preset amount of time and stop.
2 Record (forever) but just store the last X hours of images
(either write over or delete images older than X hours).

Setting this up from the web interface is preferable but you do what you gotta do.

TIA,
eric
by zappbrannigan
Thu Jun 11, 2009 3:38 am
Forum: ZoneMinder Previous Versions
Topic: Resetting Event Number??
Replies: 14
Views: 14777

Resetting Event Number??

I too am interested in doing this. When you say "delete all events", I would do this through the web interface, correct? Could you elaborate on clearing the mysql events table? (I have zero experience w/ mysql). Also, even if you do these things you're still left with the images right? Can...