| View previous topic :: View next topic |
| Author |
Message |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Fri Nov 06, 2009 6:36 am Post subject: [solved] bind time - once a month |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Nov 06, 2009 7:15 am Post subject: |
|
|
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 |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Fri Nov 06, 2009 8:17 am Post subject: |
|
|
thanks! =D _________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
|