LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot exit normally after "nohup blablabla > output.txt &" (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-exit-normally-after-nohup-blablabla-output-txt-and-265192/)

LQYY 12-11-2004 09:05 AM

cannot exit normally after "nohup blablabla > output.txt &"
 
I have been using "ssh myname@xxx.xxx.xxx.xxx" to connect my computer servers and sumbitting jobs by "nohup blablabla > output.txt &". However, after this, I can't exit to my original shell. Recently, I found this more and more annoying. I wonder if some server-side or local setup can solve this problem. Thanks!

YY

iluvatar 12-14-2004 10:02 AM

if you put the commands in a script, you may run the script from your ssh session with "at -f <script file> now"
you need to run atd on your server... atd will execute the script and you can even disconnect your session while the script keeps running :)

greetz,
.-=~ iluvatar ~=-.


All times are GMT -5. The time now is 11:18 PM.