on_event_end script log error missing
I have been using motion for a few days. It works fine, except when I attempt to add a command to the on_event_end parameter in the motion.conf script, I get no output in user.log (running raspbian (ubuntu)). My script works fine when executed in a terminal on the machine. I get no results and no log message with or without the quotes around the command line. There is also no indication that the on_event_end parameter was processed by the motion daemon.
Also, permissions on the script are set for execute properly (I have a cron job doing the task, but would like immediate action when a motion event is detected).
Is there another parameter that I should set in motion.conf ?
/etc/motion/motion.conf line of interest:
on_event_end "/home/pi/pushpics/pushlastpic.sh >> /home/pi/pushpics/pushlastpic.log 2>&1"
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
|| raspbian (ubuntu)
- 17 May 2015