EnableAlarms or DisableAlarms with Command Line

Forum for questions and support relating to the 1.25.x releases only.
Post Reply
shistace
Posts: 2
Joined: Wed Feb 18, 2015 1:06 pm

EnableAlarms or DisableAlarms with Command Line

Post by shistace » Mon Feb 23, 2015 8:00 pm

I want to Enable Alarms or Disable Alarms with crontab.
Is it possible ?


For example :
..
All Day, 9h am : enable alarms
All Day, 18h pm : Disable alarms
..

Thanks

User avatar
asker
Posts: 1106
Joined: Sun Mar 01, 2015 12:12 pm

Re: EnableAlarms or DisableAlarms with Command Line

Post by asker » Wed Mar 25, 2015 5:24 pm

Do you mean "enable or disable recording" based on time of day ? If so, you can easily do it via crontab. You need to create run states
http://www.zoneminder.com/wiki/index.ph ... or_week.3F
shistace wrote:I want to Enable Alarms or Disable Alarms with crontab.
Is it possible ?


For example :
..
All Day, 9h am : enable alarms
All Day, 18h pm : Disable alarms
..

Thanks
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

PacoLM
Posts: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: EnableAlarms or DisableAlarms with Command Line

Post by PacoLM » Wed Mar 25, 2015 6:23 pm

Asker, you are so kind documenting all your learnings! Good job!

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.31.1)

User avatar
asker
Posts: 1106
Joined: Sun Mar 01, 2015 12:12 pm

Re: EnableAlarms or DisableAlarms with Command Line

Post by asker » Wed Mar 25, 2015 7:48 pm

PacoLM wrote:Asker, you are so kind documenting all your learnings! Good job!
Thank you PacoLM! I'm working on the last (and longest one) --> the zone definition article.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests