Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue with [timer] #808
Is that a correct behaviour? The minute [timer] executes not after 1 minute since execution, but on the first full minute (:00) and then every minute from that. [utimer] works ok. The docs does not say about such weird behaviour.
The ban timer is also affected, but a bit different (better):
As you can see it waits till the full minute and than it counts an 1 minute expiration.
The ban issue is acceptable as it waits at least minute, but [timer] can execute just few seconds after calling it - this makes them quite useless.
At least you should fix the docs to mention this issue as now it states "Description: executes the given Tcl command after a certain number of minutes have passed.". After and that means first interval as well.
It happens on 1.8.4 and 1.6.21.