[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] problems with sms script



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>