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: Scheduling command/script?  (Read 1516 times)

0 Members and 1 Guest are viewing this topic.

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Scheduling command/script?
« on: June 11, 2010, 03:58:24 am »
Is there a built in/command approach to scheduling a command or script to run?

I don't mean creating a php module and using cron even, but rather a bot ! command that would let me set a schedule to run a command, for example, let me schedule a "!script scriptname" to run in guildchat evey 60 minutes?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Scheduling command/script?
« Reply #1 on: June 13, 2010, 02:05:33 pm »
The built in mechanism to allow this to occur is the cron functionality.

What you want is currently not supported, but it is fully feasible to do, although if you want to allow execution of ANY !command it would be a mess.
If you want it to be limited to the script module, it's a bit easier, but it still requires interaction with cron ;)

It's an interesting idea, and I'll need to think a bit about it, but I have a few ideas that might make such things even easier to do in the future.
BeBot Founder and Fixer Kingpin

 

* 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: 216
  • 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