title: Python pyinstaller converted code to .exe repeat every hour
body: <p>I want to repeat my program every hour. But without using the windows task scheduler. I use tkinter and python 3.4 .  I tried it with</p>
  
  <pre><code>schedule.every(2).minutes.do(main)
  while 1:
      schedule.run_pending()
      time.sleep(1)
  </code></pre>
  
  <p>but after the second repeat i have problems with the mainloop. So is there a way to pack this in my program and then  use simple my .exe file.</p>