Tasks don't run in Python3
See original GitHub issueSpecifically I’m running a simple email task in python 3.4 and the task doesn’t run. When I run the process_tasks
management command it is just silent. This is even with --log-level=DEBUG
.
The same tasks work fine with Python 2.7.
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Problems running python script by windows task scheduler ...
If I run the script manually from the command line, it works fine. New files are downloaded and processed. However, if the Task...
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 >Problem: Windows Task Scheduler will not run a Python script
Try the following steps: a. Try checking on the option in task scheduler: 'Run with highest privileges'. b. Right-click the task in ...
Read more >Task Scheduler not running the Python script? Try these fixes
1. Start Task Scheduler from Command Line · 2. Check if Task Scheduler is actually running · 3. Run a System File Checker...
Read more >Python Script Automation Using Task Scheduler (Windows)
To run your python scheduler you will need to create a task, ... but I don't like that option as it requires the...
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 Free
Top 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
settings.py
wasn’t changed except for the addition ofbackground_task
in theINSTALLED_APPS
list.I’ve reproduced this using the latest from PyPI (
django-background-tasks==1.0.5
).I reduced the task to:
This works in python 2 when running the
process_tasks
command. In python 3 it is silent. Num attempts isn’t increased.I’ll create a django project from scratch in python 3 to see if I can reproduce in the simplest state.