News for hackers. Stuff that matters.
Re:Stateless, fault-tolerant scheduling using randomness by queensnake on Sunday January 31, 2010 @10:28AM (#1090551)
??? Why not just set it to run at say 1am? Stateless, simple. Or did I miss something?

  def deleting_thread():  
    while True:  
      # 10 minutes
      time.sleep(10 * 60) 
      # pseudocode
      if 01:00 <= time() and time() < 01:10:
          deleteFromSolrAndOptimize()
And no I'm not creating an account to tell this guy so on his blog.

There are no comments on this comment yet.