title: Python - schedule library
body: <p>i'm currently facing an issue with my python code which presents randomly. Basically i have written two scripts which need to run each day at the same time:</p>
  <pre><code>if __name__ == '__main__':
      schedule.every().day.at(&quot;23:15&quot;).do(job)
      schedule.every().day.at(&quot;23:25&quot;).do(avvia_metatraders)
   
  while 1:
      schedule.run_pending()
      time.sleep(1)  
  </code></pre>
  <p>The issue is that sometimes they are executed without any issu, while other times like the past night the script waits in standby until i press any key on the keyboard. In other words, after i launch it it waits for the time of the day to execute but it doesn't execute anything until a press a random key on my keyboard.</p>
  <p>Did somebody have the same experience?</p>
  <p>To add to this, the same happens when i'm executing the code. Some parts of it get stuck until i press a random key. Is there any way to debug these issues?</p>
  <p>Thanks</p>