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
In reply to Re: timer to run program function between 7 and 7 only
by MidLifeXis
in thread timer to run program function between 7 and 7 only
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |