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

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

Author Topic: What's the best way to shutdown the bot ?  (Read 5470 times)

0 Members and 1 Guest are viewing this topic.

Offline Karask

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
What's the best way to shutdown the bot ?
« on: June 09, 2015, 07:44:10 pm »
Hey,

I just installed bebot, it works perfectly.
Well for now it's running, but I was wondering what was the best way to shutdown the bot.
It's permanently connected to a sql server, I don't want to mess up things in the database.

I've seen in the !help section there's a "maintenance" part, but only to restart the bot.
For now, I use that maintenance thing, so the bot stops, restarts, and before it logs in, I stop the process (Linux server).

Thank you.


Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: What's the best way to shutdown the bot ?
« Reply #1 on: June 10, 2015, 07:00:10 pm »
!quit should do it.

However if you are running the bot in a script that restarts the bot every time it shuts down then that is a different matter. May I suggest a time delay in the script that restarts the bot perpetually so that you have a few seconds to terminate it after it is shut down?
The only problem that can't be solved by adding another wrapper is having too many wrappers.

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 462
  • 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