[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Alerts
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Alerts
- From: Peter Welter <peter.welter (at) gmail.com>
- Date: Sat, 20 Aug 2005 13:55:46 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rtBr8oNjxHygaPKSqKajBiXP2P7VFD/gpfeiV855Ehb9DUEBJBpYuy/C8+R6qTvulOhNv9tKFHWAPwCeat4MhaqpOMPYnp1gMGZxuBmN03tYLAhr8eKIpR7YOSKqx1Ai4d/3Uq0Egd4PG0kQ4pttTrwoZtLMFpvmzokkjUczO2U=
- References: <20050809182309.GA9108@hswn.dk> <20050820100753.E485278@ip-213-92-132-242.aramiska-arc.aramiska.net>
See: http://www.hswn.dk/hobbit/help/hobbit-alerts.html#scripts
Write a tiny wrapper script which is a valid argument for the
SCRIPT-option. Number is an argument for the wrapper script. So the
correct syntax would be:
SCRIPT /home/hobbit/bin/sendsms number FORMAT=SMS
and the script /home/hobbit/bin/sendsms should contain your pager stuff.
Regards Peter
2005/8/20, Ger Maguire <ger (at) fwi.ie>:
>
> Hi, Can I get some assistance with configuring the format of the
> SCRIPT command for hobbit-alerts ?
>
> I have a script that sends an sms message with the following syntax
>
> /ext/sms/sms.pl -c /ext/sms/send -m "Sms message here" number
>
> I have tried this but it doesn't work,
>
> SCRIPT /ext/sms/sms.pl -c /ext/sms/send -m "FORMAT=SMS" number
>
> any ideas ?