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.
Help for those learning Tcl or writing their own scripts.
tueb
Halfop
Posts: 76 Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:
Post
by tueb » Fri Nov 06, 2009 6:36 am
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
Last edited by
tueb on Fri Nov 06, 2009 8:16 am, edited 1 time in total.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Fri Nov 06, 2009 7:15 am
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)
tueb
Halfop
Posts: 76 Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:
Post
by tueb » Fri Nov 06, 2009 8:17 am
thanks! =D