Re: working as a daemon and execute tasks at a certain time
You could always make it run the task every 86400 seconds...
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.
|