??? Why not just set it to run at say 1am? Stateless, simple. Or did I miss something?<p><pre><code>  def deleting_thread():  
    while True:  
      # 10 minutes
      time.sleep(10 * 60) 
      # pseudocode
      if 01:00 &#60;= time() and time() &#60; 01:10:
          deleteFromSolrAndOptimize()
</code></pre>
And no I'm not creating an account to tell this guy so on his blog.