Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29929

Motion won't execute commands after an event trigger

$
0
0

Streaming and motion detection work properly, but Motion doesn't seem to want to collaborate with the execution of scripts after an event trigger.

These are the scripts that I would like to run:

on_event_start echo -n "Motion detected!">> /pi/bin/pingLog/log.txt
on_picture_save mpack -s "Motion detected!" -d /home/pi/bin/fManagement/mail.txt %f myMail@gmail.com

Mpack is set correctly with msmpt, I can send mail manually but not automatically via Motion.


Viewing all articles
Browse latest Browse all 29929


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>