<blockquote>
<p><strong>Possible Duplicate:</strong><br/>
<a href="https://stackoverflow.com/questions/373335/suggestions-for-a-cron-like-scheduler-in-python">Suggestions for a Cron like scheduler in Python?</a> </p>
</blockquote>
<p>什么是将函数作为后台任务定期运行的最顽皮的方式?有一些想法,但在我看来都很难看。不完整。</p>
<p>java<a href="http://java.sun.com/javase/6/docs/api/java/util/Timer.html" rel="nofollow noreferrer">Timer</a>类有一个非常完整的解决方案。有人知道类似的python类吗?</p>