How to schedule audio recording?

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
User avatar
Posts: 117
Joined: Wed Jun 12, 2019 5:15 pm

How to schedule audio recording?

Post by Bluemax » Fri Apr 02, 2021 8:46 pm

i want to record 24h modect but only 12h with audio. Could this be done with 'Profiles'?
If not, would it be possible to set the option manually in the database by shell with a cronjob? What's needed to get such changes into effect? A restart of the whole Zoneminder service or is there any less interruptable approach? I don't know.. 'zmc -reload' or something.

Is this a good approach? The restart logic is taken from

Code: Select all

mysql -Bse "UPDATE zm.Monitors SET RecordAudio = '1' WHERE Id = '2';" stop zma -m 2; restart zmc -m 2; start zma -m 2

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests