Re: Gammu-smsd error 127
federico govoni <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <[email protected]> |
Yes it is, I've reinstalled gammu- and now it works perfectly! Any way thank you for your answer! Best regards! Federico Il 04/giu/2015 03:11 PM, Michal Čihař <[email protected]> ha scritto: Hi Dne Wed, 3 Jun 2015 18:41:46 +0200 federico govoni <[email protected]> napsal(a): > Hi guys, > I'm using gammu-smsd on my raspberry pi and I want to execute a script when a message is received. > I added the voice: > runonreceive = /path/to/script.sh > Under [smsd] voice in smsdrc and then called "sudo gammu-smsd" from command line. > When an SMS arrive in the log file appear these lines: > Read 1 messages > Received IN20150603_182633_00_+3454528_00.text > Starting run on receive = /path/to/script.sh > Process failed with exit status 127. 127 usually means command not found. Is the script executable? -- Michal Čihař | http://cihar.com | http://blog.cihar.com ------------------------------------------------------------------------------ _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users ------------------------------------------------------------------------------ _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users