Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Linux Newbie Sangal-Arun's Avatar
    Join Date
    May 2006
    Location
    Gurgaon, India + Denver Colorado USA
    Posts
    101

    Question Controlling Linux server script using cell phone mesg.

    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
    Brgds,

    ARUN SANGAL
    SCM: 1- 720 251 9962
    Email: sangal.ak04@gmail.com
    Email: sangal_ak04@yahoo.com

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Please stop posting duplicate threads and continue any discussion about this in your original thread.

    Forum Rules:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    Thank you.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...