Page 1 of 1

EnableAlarms or DisableAlarms with Command Line

Posted: Mon Feb 23, 2015 8:00 pm
by shistace
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

Re: EnableAlarms or DisableAlarms with Command Line

Posted: Wed Mar 25, 2015 5:24 pm
by asker
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

Re: EnableAlarms or DisableAlarms with Command Line

Posted: Wed Mar 25, 2015 6:23 pm
by PacoLM
Asker, you are so kind documenting all your learnings! Good job!

Re: EnableAlarms or DisableAlarms with Command Line

Posted: Wed Mar 25, 2015 7:48 pm
by asker
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.