Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have a shell script in linux and i need to run that script in a remote machine at a particular time automatically , when time is reached.......... Is ...
  1. #1
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    107

    script running on a remote machine

    Hi,

    I have a shell script in linux and i need to run that script in a remote machine at a particular time automatically , when time is reached..........


    Is there any way to do . if so, How could be done ?........

    Pls help me .......

    Thanks in Advance

  2. #2
    Just Joined!
    Join Date
    May 2007
    Posts
    7
    You can run a shell script in a remote machine using ssh. )You should have already initialized ssh in the remote machine.)

  3. #3
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Quote Originally Posted by mallik View Post
    I have a shell script in linux and i need to run that script in a remote machine at a particular time automatically , when time is reached..........


    Is there any way to do . if so, How could be done ?........
    Take a look at cron. It can run scripts at regular time intervals. You'll need to have root access in order to set up a cron job, though.

  4. #4
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    You'll need to have root access in order to set up a cron job, though.
    That depends on your Linux distribution. I'm running Slackware 9.1, and one uses crontab to edit one's crontab file; each user has his own file. This can be run by any user.
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

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