in reply to timer to run program function between 7 and 7 only

So, to clarify, you want a long running program to start running at 7pm, and put itself to sleep at 7am.

I would look at the sleep and localtime functions. Pay particular attention to the return value of the sleep function.

--MidLifeXis

  • Comment on Re: timer to run program function between 7 and 7 only