egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[solved] bind time - once a month

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
tueb
Halfop


Joined: 04 Oct 2007
Posts: 76
Location: #quiz.de @ irc.gamesurge.net

PostPosted: Fri Nov 06, 2009 6:36 am    Post subject: [solved] bind time - once a month Reply with quote

hi,

i`m trying to run a proc once a month (1st of the month at 11 hours and 11 minutes) with this:


bind time "11 11 01 * *" monthly_check_update
proc monthly_check_update {min hour day month year} {
}

but it doesn`t seem to work. do you guys see an error in that?

thx,

tueb
_________________
#Quiz.de @ irc.GameSurge.net
JavaChat


Last edited by tueb on Fri Nov 06, 2009 8:16 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Nov 06, 2009 7:15 am    Post subject: Reply with quote

Your bind mask is correct. How do you know it's not triggering? perhaps there's something wrong with the code in the procedure, I suggest you add a [putlog] line to at least figure out whether the procedure is being triggered or not.

Edit: Oh, you forgot the <flags> part of the bind (i.e. it should be: bind time - "11 11 01 *" procedure)
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
tueb
Halfop


Joined: 04 Oct 2007
Posts: 76
Location: #quiz.de @ irc.gamesurge.net

PostPosted: Fri Nov 06, 2009 8:17 am    Post subject: Reply with quote

thanks! =D
_________________
#Quiz.de @ irc.GameSurge.net
JavaChat
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber