I'm a sleepwalker, so I installed a camera next to my bedroom to keep track of myself. However, I want to make sure zm only records events during the night. I know I can use filters to filter out unwanted events, but this happens after the recording if I understand correctly. I actually want to turn off event processing completely during certain hours (to limit harddisk usage, lessen the load on my tiny server and prove to my wife that I really don't care when she gets out of bed in the morning)
I know I could use crontab to turn off zm completely at a certain time but this would also prevent me from looking at recorded events.
Any ideas how to turn off processing for a specific monitor between certain hours?
thanks in advance,
Nico
how to limit events to a certain timeframe
Re: how to limit events to a certain timeframe
Actually you don't need the zm daemons running to view recorded events. So using cron to stop and start zm might be the easiest.
Re: how to limit events to a certain timeframe
http://en.wikipedia.org/wiki/Cron
At the prompt
easiest editor
$ sudo export EDITOR=gedit
$ crontab -e
#do something like
01 18 * * * /what/ever/you/want/to/start # everyday start at seven pm
01 08 * * * /what/ever/you/want/to/stop #every day at eight am
I think you might be able to start and stop apache which will I believer do the trick for you.
At the prompt
easiest editor
$ sudo export EDITOR=gedit
$ crontab -e
#do something like
01 18 * * * /what/ever/you/want/to/start # everyday start at seven pm
01 08 * * * /what/ever/you/want/to/stop #every day at eight am
I think you might be able to start and stop apache which will I believer do the trick for you.