How do I run a python script between two times? -


i have python script run between 9 , 4 pm everyday, there's part of same script i'd run every 10 seconds during time. how go in doing this? have looked @ datetime modules, did not come across examples compare times , schedule event. there seems difference datetime module in python 2.7 , 3.x. using python 2.7. me or direct me right sources? thank you.

if using linux,you should read crontab,it powerful tool schedule.
on other hand,in python2.7 ,try sched schedule repeating event .

hope helps.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -