I'm trying to make a time check bind to hit routine:check proc after every 3 hours. i guess its not the correct way, btw. with current version of tcl we can directly do it instead of making bind for everyhour and checking inside the proc?
bind time - "*0 * * * *" routine:check
bind time - "* */3 * * *" routine:check
oh, I didnt preconceive that. You are totally right. I wondered why you used scan to get the integer . Alternately you could simply use [string trimleft $h 0] . I'd guess it would be faster.
StarZ|De_Kus ?calc 08 % 3
-[-RO^Bot-]- Fehler: expected integer but got "08" (looks like invalid octal number)