Time limited recording

Support and queries relating to all previous versions of ZoneMinder
Locked
zappbrannigan
Posts: 7
Joined: Thu Jun 11, 2009 3:20 am

Time limited recording

Post by zappbrannigan »

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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

1) You could do using run states and cron. Though it might be complex if you want to do this with several cameras and more complex if they have different schedules but still do-able. This requires you to save a run state for each change, then have cron run zmpkg.pl [run_state_name] at the times you want. More info is in the FAQ.

2)Yes, you can set this up in filters either similar to the purgewhenfull filter to span all the cams, or on a per camera bases.
Check out the filters section in the Documentation in the wiki.
Locked