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: What's the best way to shutdown the bot ?  (Read 5843 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
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: 201
  • 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