Page 1 of 1

How to schedule audio recording?

Posted: Fri Apr 02, 2021 8:46 pm
by Bluemax
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