2

I want to setup cronjob in my Django project, but I am using windows. I tried django-cron, but it is not working with windows.

How can I use cronjob scheduling in my project?

Ralf
  • 16,086
  • 4
  • 44
  • 68
C P Verma
  • 320
  • 7
  • 23
  • Possible duplicate of [Schedule Python Script - Windows 7](https://stackoverflow.com/questions/2725754/schedule-python-script-windows-7) – colidyre Aug 10 '18 at 11:18

1 Answers1

4

Using django-cron is not the case and cannot be used on Windows, because Windows do not support cron job scheduling. You can use Windows analog of the Unix cron command called "schtasks" to schedule execution of your script or Windows Task Scheduler.

See more in SO Questions What is the Windows version of cron? and Schedule Python Script - Windows 7

Andriy Ivaneyko
  • 20,639
  • 6
  • 60
  • 82