Background jobs from ssh



I have a start.sh on Linux that starts a bunch of jobs in background
mode:

#!/bin/sh
# script: start.sh
job1 &
job2 &

I'm able run start.sh using plink (Putty's Windows ssh client):

C:\>plink user@hostname -pw password "/home/user/start.sh"

However, my plink command won't return util the background jobs have
finished. I don't want my
ssh client to have to wait. Is there any way around this?

.



Relevant Pages

  • Background jobs from ssh
    ... I'm able run start.sh using plink (Putty's Windows ssh client): ... my plink command won't return until the background jobs have ... ssh client to have to wait. ...
    (comp.unix.shell)
  • Re: Background jobs from ssh
    ... my plink command won't return until the background jobs have ... ssh client to have to wait. ... The second line of your script could be: ...
    (comp.unix.shell)