sending sms via Gammu
Posted: Fri Oct 07, 2011 2:28 am
Hello,
I am trying to send sms notifications via remote Gammu SMS gateway using ssh. Sending works from linux command line, using command: echo "test message" | ssh [email protected] /usr/bin/gammu --sendsms TEXT phoneno.
When I try to implement that to defined command's command_line, it doesn't send anything. I am guessing that the | sign is the guilty here. So how can I put echo into a command.conf command_line?
I am trying to send sms notifications via remote Gammu SMS gateway using ssh. Sending works from linux command line, using command: echo "test message" | ssh [email protected] /usr/bin/gammu --sendsms TEXT phoneno.
When I try to implement that to defined command's command_line, it doesn't send anything. I am guessing that the | sign is the guilty here. So how can I put echo into a command.conf command_line?