This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Bind time bug ?

Old posts that have not been replied to for several years.
Locked
k
korigon

Bind time bug ?

Post by korigon »

Hi all,

I try to bind time like this

bind time -|- "01 * * * *" test

proc test {min hour day month year} {
putlog "I must see this message every minute, ok ?"
}


But I see it every hour, so..

I tried :
bind time -|- "1 * * * *" test
bind time -|- "*/1 * * * *" test
bind time -|- "* 01 * * *" test

No more luck.. any hint ?
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

bind time - * test
Elen sila lúmenn' omentielvo
k
korigon

Post by korigon »

I see, and if i want each 5 mins ?
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

bind time - "*0 * * * *" test
bind time - "*5 * * * *" test
Elen sila lúmenn' omentielvo
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

bind time - "?0 * * * *" do:something
bind time - "?5 * * * *" do:something
Once the game is over, the king and the pawn go back in the same box.
k
korigon

Post by korigon »

Thx a lot guys but

[18:23:00] <testbot> [18:23] bind time -|- *3 * * * *
[18:23:00] <testbot> [18:23] bind time -|- *
[18:24:00] <testbot> [18:24] bind time -|- *
[18:25:00] <testbot> [18:25] bind time -|- ?5 * * * *
[18:25:00] <testbot> [18:25] bind time -|- *
[18:26:00] <testbot> [18:26] bind time -|- *
[18:27:00] <testbot> [18:27] bind time -|- *
[18:28:00] <testbot> [18:28] bind time -|- *
[18:29:00] <testbot> [18:29] bind time -|- *
[18:30:00] <testbot> [18:30] bind time -|- *
[18:31:00] <testbot> [18:31] bind time -|- *
[18:32:00] <testbot> [18:32] bind time -|- *
[18:33:00] <testbot> [18:33] bind time -|- *3 * * * *
[18:33:01] <testbot> [18:33] bind time -|- *
[18:34:00] <testbot> [18:34] bind time -|- *
[18:34:59] <testbot> [18:35] bind time -|- ?5 * * * *

it's not each 5 minutes :wink:
Eggdrop 1.6.15
User avatar
user
&nbsp;
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

restart your bot or unbind the other binds
...or do you mean the fact that it's a bit off some times (probably due to lag)?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I'm using egghead's freshmint.tcl wich does the folowing stuff:
Right before a .rehash this scripts attempts to:
1. remove all loaded packages
2. remove all existing procedures
3. remove all existing binds
4. remove all minute timers
5. remove all second timers
Get it from here.
Once the game is over, the king and the pawn go back in the same box.
k
korigon

Post by korigon »

Thx all, I'll try that :P
Locked