collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Background Service  (Read 3862 times)

0 Members and 1 Guest are viewing this topic.

Offline DEBA

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Background Service
« on: August 09, 2008, 06:33:26 pm »
Sorry for next Post... But there are one Problem left.

Bebot runs fine, but when i close putty the bot will shut down.
Of course, I know it must be run as background service, but how?
I read a topic in this forum where it is explained how to run it as background service with SCREEN.
In this topic also stands, that it give an script that do the same. But i donĀ“t find it with the search.

So before i try to use screen can anyone give me the link to the schript?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Background Service
« Reply #1 on: August 09, 2008, 07:23:42 pm »
Screen is a tool that allows you to detach a screen of the command line while the screen itself keeps running in the background. Basically it's a shell you can attach to and detach from as needed, while any programs run in the shell keep going as they would in any other shell.

After you install Screen simply start it with screen -, and then start the bot as you would in any shell. It starts then. With CTRL+D you can detach from the screen and then close your putty. To reattach again simply use screen -r, then you get the detached bot back into the foreground.

You don't need any further scripts to run the bot, screen will do all the work for you.

Offline DEBA

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Background Service
« Reply #2 on: August 09, 2008, 09:08:07 pm »
Thanks, I notify that screen is alredy installed on my server^^

It works great

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 286
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal