Results 1 to 1 of 1
Hi Team,
I have a script at ~/giga.sh (It just echo's the first parameter passed to it).
i.e. if you call this script for ex: ~/giga.sh fifa (Output will be ...
- 02-01-2010 #1
How can i run a script on Linux using my cell phone
Hi Team,
I have a script at ~/giga.sh (It just echo's the first parameter passed to it).
i.e. if you call this script for ex: ~/giga.sh fifa (Output will be "fifa"), ~/giga.sh julia (output will be "julia") etc.
Now, what I want is "Is it possible that I can send a message to my user id on this box using my cell phone". i.e. if from my cell phone I can tell Linux to call this script with parameter "fifa" or whatever i want to pass as a text mesg.
for ex: If I send a text mesg: "~/giga.sh fifa" to some address/number/my mail-id in Linux system, then the script on this box will be executed.
This can be done in many ways "provided we are able to make, whatever text I sent" is visible/available on the Linux server so that I can act on it using a cron setup/direct script call/create a config file (which will contain the "text" I'll send) and which will be read by another cron/recurring script (which will check what command to execute).
If you want to know exactly what i want, you can contact me at arun.sangal@galileo.com
Arun Sangal


Reply With Quote