django-crontab
django-crontab copied to clipboard
Hope to support django2.20+
Environment & Versions
- Operating system: centos 7
- Python: python3.7
- Django: 2.2
- django-crontab: latest
Details
Has the app been updated for a long time? Currently django-crontab only supports django2.0 version. I hope to support the newer version of django, such as django2.20+.
Work fine in my project powered by django2.2
Hi, @zmrenwu Can show us your setup? I'm trying using on Django 2.20 without success
Worked for me with Django 2.2.4 i was working locally with SQLite db so crontab couldn't find the database file, that's why it wasn't working for me but when moved to Postgres, it works fine
@ashrafemad can show your code?
@eluizbr
CRONJOBS = [ ('0 2 * * *', 'django.core.management.call_command', ['update_user_status']) ]
CRONTAB_DJANGO_SETTINGS_MODULE = 'my_project.settings.staging'
@eluizbr
CRONJOBS = [ ('0 2 * * *', 'django.core.management.call_command', ['update_user_status']) ]
CRONTAB_DJANGO_SETTINGS_MODULE = 'my_project.settings.staging'
Does it still work on django2.2?
@eluizbr CRONJOBS = [ ('0 2 * * *', 'django.core.management.call_command', ['update_user_status']) ] CRONTAB_DJANGO_SETTINGS_MODULE = 'my_project.settings.staging'
Does it still work on django2.2?
I think yes, I've been using it for a while and no problems noticed
@eluizbr CRONJOBS = [ ('0 2 * * *', 'django.core.management.call_command', ['update_user_status']) ] CRONTAB_DJANGO_SETTINGS_MODULE = 'my_project.settings.staging'
Does it still work on django2.2?
I think yes, I've been using it for a while and no problems noticed
Since I upgraded Python3.7 and django2.2, django-crontab doesn't work anymore, and it doesn't work if I use your configuration