I've got a script that I need to run between 7am and 9pm. The script already runs indefinitely but if I am able to maybe pause it outside the above hours then that'd minimize the amount of data it would produce.
I currently use time.sleep(x)
in some sections but time.sleep(36000)
seems a bit silly?
Using Python 2.7
Thanks in advance!