django-crontab
django-crontab copied to clipboard
Not call cronjob
Environment & Versions
- Operating system: ubuntu with docker
- Python: 3.8
- Django: 3.1.1
- django-crontab:0.7.1
Settings
- My
django-crontab
settings:
CRONJOBS = [
('*/1 * * * *', 'blog.cron.post_create'),
...
]
Details
- Output of
crontab -l
after runningpython manage.py crontab add
.
crontab -l
*/1 * * * * /usr/bin/python3 /code/manage.py crontab run b655077f9419bb25c66dcd835b4e729d # django-cronjobs for djPine
python manage.py crontab add
Currently active jobs in crontab: web_1 | b655077f9419bb25c66dcd835b4e729d -> ('*/1 * * * *', 'blog.cron.post_create')
- If this output contained a
crontab run
command and I copy this command to my terminal the job works: yes/no yes
After docker-compose up added jobs in crontab. But not called crontab function
i am also having the same issue with django 3.2 during the development, not through docker
i am also having the same issue with django 3.2 during the development, not through docker
I use APScheduler instead of this
I'm also experiencing the same, Is any progress on it?
Operating system: ubuntu Python: 3.8.10 Django: 3.2.12 django-crontab:0.7.1
i'm using django-background tasks https://django-background-tasks.readthedocs.io/en/latest/
@giuseppenovielli Does it work well on docker?
I have not test on docker.