As I said in the topic, I have it like:
Code: Select all
bind time - "0 * * * *" ac_quarter
bind time - "15 * * * *" ac_quarter
bind time - "30 * * * *" ac_quarter
bind time - "45* * * *" ac_quarter
proc ac_quarter {min hour day month year} {
if {$min=="0"} {
ac_check
timer 1 ac_check2
} else {
ac_check
}
}
I tried with if {$min=="0"}, and if {!$min} {, no one of them works hourly.
But if I do '.tcl ac_quarter 0 <some more bullshit here>', it works fine..
Simply, it ignore the hourly change when doing it automatically..
It should use ac_check hourly, and one minute after ac_check2.
If I remove ALL of the if-then-else stuff, it works fine each quarter.
Someone who know what the problem is?