title: CronJob on windows machine in Python Django
body: <p>I have setup job as below:</p>
  <p>In <strong>settings.py</strong>:</p>
  <pre><code>CRON_CLASSES = [
      &quot;kiteconnect_source.source.cron.MyCronJob&quot;,
  ]
  
  CRONJOBS = [
      ('*/1 * * * *','kiteconnect_source.source.cron.MyCronJob')
  ]
  </code></pre>
  <p>In <strong>Cron job python file</strong>:</p>
  <pre><code>from django_cron import CronJobBase, Schedule
  import datetime
  
  class MyCronJob(CronJobBase):
      ALLOW_PARALLEL_RUNS = False
      RUN_EVERY_MINS = 1
  
  schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
  code = 'kiteconnect_source.my_cron_job'    # a unique code
  
  def do(self):
      # time = datetime.datetime.now()
      val = &quot;This is cron job function new testing:&quot;
      f = open('/dummy.txt','a')
      f.write(val)
      f.close()
      print(&quot;demo&quot;)
  </code></pre>
  <p>Issue is it's getting executed only once instead of every interval of one minute.</p>
  <p>Can anyone explain what I've missed? Thanks.</p>