Timed method in Python
<p>How do I have a part of python script(only a method, the whole script runs in 24/7) run everyday at a set-time, exactly at every 20th minutes? Like 12:20, 12:40, 13:00 in every hour.</p>

<p>I can not use cron, I tried periodic execution but that is not as accurate as I would... It depends from the script starting time.</p>

<p>Module <a href="https://github.com/dbader/schedule" rel="nofollow">schedule</a> may be useful for this. See answer to
<a href="http://stackoverflow.com/questions/373335/how-do-i-get-a-cron-like-scheduler-in-python">How do I get a Cron like scheduler in Python?</a> for details.</p>

python