LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux VPS (https://www.linuxquestions.org/questions/linux-newbie-8/linux-vps-924934/)

Guide_ 01-21-2012 04:11 AM

Linux VPS
 
Ahoy there!

I'm hosting a ' bot ' for a certain game on a VPS that is running linux.

Now I open the SSH to run the 'bot' and after say 10 minutes the bot just closes and the SSH is unusable?

kbp 01-21-2012 04:39 AM

Have you tried 'screen' ?

- ssh to host
- run 'screen'
- launch bot
- detach from screen
- log out

Guide_ 01-21-2012 05:17 AM

You'll have to excuse my ignorance, how would I go about the above?

Sorry.

Guide_ 01-21-2012 06:47 AM

Bump. So someone can clarify the above.

kbp 01-21-2012 11:49 PM

Try the screen man page, basically it lets you disconnect and everything keeps running.

lucmove 01-22-2012 12:02 AM

Supposing your bot is mybot, run this:

$ nohup mybot

Then disconnect (I mean, logoff). The mybot program should keep running unattended.


All times are GMT -5. The time now is 03:11 AM.