Scheduling is not working in django app on Windows
See original GitHub issueI wrote a test like
def test1():
print("TEST1 TEST1")
print("Executed **************************************)
schedule.every(1).minutes.do(test1)
I see the print of “Executed ******”, but test1 method is never called
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Run tasks every day at 8am in Django on Windows
Try django-windowsauth and the createtask command. You can use it to create Windows Task Scheduler ...
Read more >Scheduling Jobs in Python Django in Windows based ...
Scheduling Jobs in Python Django in Windows based environment · Create a new folder in the root directory 'updateservice' with '__init__.py' file
Read more >Schedule Django commands with Windows task ... - YouTube
This video tells/shows you how to add your custom Django commands to the windows task scheduler so it runs automatically at a certain...
Read more >Task Scheduler not running the Python script? Try ... - YouTube
Snap! Task Scheduler not running the Python script?Don't worry too much, just watch this video to see how you can fix it.
Read more >Scheduling task with django
I have a Django app hosted on a windows server and wanted to schedule jobs easily while still having access to existing code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there, it looks like this code is missing a call to
schedule.run_pending()
. You can find working examples in the docs at https://schedule.readthedocs.io/en/stable/I’m closing this issue because of inactivity.
We can always revisit this subject though! 😃 If you need any help, please create a new issue. Thank you!