From: Zach Dennis Date: 2004-02-03T10:07:29+09:00 Subject: Re: shell scripts in background (with &) - why would they stop? >Shouldn't a Ruby script keep running if someone uses the "&" at the end of the command? "&" denotes that you are sending a process to the background for execution. It will only continue to run in the background for that current tty session. Once you log out of your SSH session it is terminated. To do what you want you need to run it as a service/daemon or add it to the crontab file. >Is that expected behavior? Yes >How would I get it to keep running (like my regular /bin/sh shell scripts) after I log out? Run it as a service/daemon and/or add it to the crontab file. HTH, Zach --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004