Motion - Support Question 2014x 03x 30x 071708

Problems controling motion via cron - bug?

Question

I just cannot get Motion to be controlled via the cron/script.

I'm trying to change the threshold by entering this line at the command line:

sudo /usr/bin/wget -O /dev/null -q http://localhost:8091/0/config/set?threshold=1000&username=myuserename&password=mypassword

I see if the motion.conf file has changed, but it never does, whatever I try!

1) will this command work from the command line?

2) will i see a difference in the motion.conf file?

3) do i have to restart motion or somehow save the changes for them to become permanent?

I'm not sure if it's related, but i cannot control motion via the web interface either. It looks like its working, but it doesn't.

Iv'e included a few links of how iv'e tried to get this working:

http://raspberrypi.stackexchange.com/questions/14486/control-motion-via-cron/14490?noredirect=1#comment20677_14490

http://raspberrypi.stackexchange.com/questions/14250/controlling-motions-threshold-automatically-on-my-pi

Please help, i'm stuck!

Environment

Motion version: 3.2.12
ffmpeg version: 6:0.8.6-1+rpi
Libraries: ffmpeg, mysql, postgresql
Server OS:  
-- ReggieNoo - 30 Mar 2014

Answer

Topic revision: r1 - 30 Mar 2014, ReggieNoo
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.