title: Python - is time.sleep(n) cpu intensive?
body: <p>I've been toying with the idea of using <code>time.sleep(n)</code> in a python script to make it execute jobs at different intervals. The pseudocode would look like:</p>
  
  <pre><code>total_jobs = [...]
  
  next_jobs_to_run = next_closest(total_jobs)
  min_time_to_wait = closestTime(nextJobsToRun)
  
  wait until min_time_to_wait
  run them all 
  get next jobs
  </code></pre>
  
  <p>To summarize, the program sleeps until the next job needs to be performed. It runs the job, finds its next job to run, and sleeps until it needs to run the next job (continues to infinity). I am planning on running this on a linux machine - using a cron job is a possibility. Anyone have opinions on either?</p>