I want to execute some code at 12 o clock everyday. The only way I can think todo this is to
- sleep until 12 o clock
- execute code
- sleep 24 hours (minus time takes to run code)
- goto 2
Is there a built in API I could use to schedule events like this?
I cannot use cron jobs or anything similar, this must be in a python script
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…