16 Jun
2008
16 Jun
'08
5:49 a.m.
Try with the full path to 'gammu'. (the running hobbit env on your sys may be different than your shell).
I use the same method but not with true SMS, I just use mail.
example below.
page-primary.sh /bin/mail -s "$BBSVCNAME $BBHOSTNAME $MACHIP $CFID" mycellphone at myprovider.tld < /dev/null
hobbit-alerts.cfg GROUP=linux,web SERVICE=* SCRIPT /path/to/page-primary.sh FORMAT=sms COLOR=red
Jarrod Hodder wrote:
echo "test" | gammu --sendsms TEXT <Phone Number here>