title: How do I write a time loop where I can execute different commands at different intervals over a 2 hour period
body: <p>My goal is to create a log grabber for troubleshooting purposes. The Python script would run for let's say 2 hours and do this.</p>
  <ol>
  <li>Every 15 seconds run command 1.</li>
  <li>Every 30 seconds run command 2.</li>
  <li>Every 60 seconds run command 3.</li>
  <li>Every hour run command 4.</li>
  </ol>
  <p>I have used the basic time commands to do this individually, just wondering if I can combine it into a nested loop?</p>