title: How to set hour range and minute interval using APScheduler
body: <p>I'm trying to create a process that can run jobs on a cron schedule of <code>0/5 8-17 * * 1-5</code> and here is my test code:</p>
  
  <pre><code>import argparse
  from apscheduler.schedulers.background import BackgroundScheduler
  import datetime
  import time
  
  cmdline_parser = argparse.ArgumentParser(description='Testing')
  cmdline_parser.add_argument('--interval', type=int, default=5)
  
  def task():
      now = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')
      print(f'{now}')
  
  if __name__=='__main__':
      args = cmdline_parser.parse_args()
      sched = BackgroundScheduler(timezone='EST')
      sched.start()
      minutes_interval = f'0/{args.interval}'
  
      sched.add_job(task, trigger='cron', day_of_week='mon-fri', hour='8-17', minute=minutes_interval)
  
      while True:
          time.sleep(30)
  </code></pre>
  
  <p>But it is not stopping after 5pm. Please help if I'm using the cron arguments incorrectly.</p>