[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] problems with sms script
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] problems with sms script
- From: Tim McCloskey <devzero (at) cox.net>
- Date: Sun, 15 Jun 2008 22:49:46 -0700
- References: <339D555B07BAFC4A9A6C99FAFBD5BF061618FB (at) para-serve.para.local>
- User-agent: Thunderbird 1.5 (X11/20051201)
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>