Results 1 to 2 of 2

Thread: running remote command, then leave it running

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    417

    running remote command, then leave it running

    HI,

    I have a script that will parse some data then print it out to a file.

    I'd like to set it running on a remote machine then leave (close the ssh session). But, I think the script stops working after that.

    How can I run the script remotely then leave and have it still running?

    Cron?

    thanx,

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Posts
    421

    Re:running remote command, then leave it running

    Start it with nohup in front like so:

    nohup /path/to/script &

    Output will be send to ./nohup.out (unless redirected elsewhere). If it's an interactive process you want to run check out screen.

Similar Threads

  1. Run folding as service
    By Outlaw in forum General Chat
    Replies: 8
    Last Post: 03-11-2006, 02:11 PM
  2. How to Remote Assistance to Get Help from a
    By The Donald in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 09:31 PM
  3. List of fixes included in Windows XP SP2
    By regix in forum Windows - General Topics
    Replies: 6
    Last Post: 01-03-2005, 10:44 PM
  4. Step-by-Step Guide to Remote Assistance
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 12-31-2004, 10:08 PM
  5. There Must Be Fifty Ways to Leave Your Windows
    By mojo jojo in forum General Chat
    Replies: 4
    Last Post: 01-21-2004, 08:02 AM

Bookmarks

Posting Permissions

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