Closed tompollard closed 3 months ago
This all looks good and django-q2 sounds like a good way to go; thanks for find it.
Django Cron tasks that don't appear to run because Django Cron is not installed.
Just to be clear: you make it sound like we're not running any periodic background tasks at the moment. We do run periodic tasks using cron. We do not use django-cron to do so.
I'm happy to merge this so you can experiment, but please don't change the existing cron jobs until I have a chance to look at them in detail.
Thanks!
Django Cron tasks that don't appear to run because Django Cron is not installed.
Just to be clear: you make it sound like we're not running any periodic background tasks at the moment. We do run periodic tasks using cron. We do not use django-cron to do so.
Yep, I'm not saying that we don't run cron tasks. e.g. we're purging old accounts here:
My point was just that we have django-cron tasks defined in https://github.com/MIT-LCP/physionet-build/blob/dev/physionet-django/physionet/cron.py that (as far as I can see) are not being run:
Why switch to Django Q2
We have a need to be able to:
Right now, we have:
Django Q2 is well documented and under active development. It is compatible with Django 5 (which I hope we can move to soon-ish).
What's in this pull request
This pull request:
After the dependency is added, I would like to: