[LUNI] Executing a command on another host?
Constantin Gavrilescu
costi at rcn.com
Tue Jul 10 15:21:54 CDT 2007
Richard Reina wrote:
> Hello all,
>
> I have a program running that on one of the hosts on my small LAN that can send SMS text messages from the command line. I would like to be a able to use it from other hosts on the LAN which amounts to somehow executing a command from one host on to another. I believe I could write a script in perl that perhaps uses rsync to help me do this but I feel like there must someohow be an easier more effiecient way? Does anyone no of any?
>
I would make a a perl/php/bash wrapper script as a cgi and pass
variables as GET paramaters from lan clients, like
http://sms-sender-host/send?number=555-888-8913&message=Hope%20you%20are%20ok
Be careful on escaping shell escape characters.
More information about the luni
mailing list