Posted by Dirk Laurenz on 10/10/07 11:29
Hi,
BoneIdol schrieb:
> You could always make it run the task every 86400 seconds...
this was my guess, but depends on starting the daemon at 1800 hours,
isn't it.
> Anyway your code executes twice because you use 2 equal than or
> greater/less than. Remove an = from that if and it should work ok.
>
> I think anyway.
>
that does not change anything case the function can execute more than
once per second and a sleep 1 can lead to miss the time. i already
tested this.
dirk
Navigation:
[Reply to this message]
|