Django-celery
Em seg., 23 de out. de 2023 às 07:08, Mike Dewhirst <miked@dewhirst.com.au> escreveu:
Django docs suggest cron or Windows scheduler for running management commands.
I would like instead to build an internal Django based scheduler - because after migrating to a new server, setting up the new cron task will be forgotten.
Is there a daily (approximately) event in a Django project I can hook into and test the date?
The task is somewhat database intensive and needs to run quarterly for some users, monthly for most and weekly for others depending on their preferences.
Ideas anyone?
Thanks
Mike--
-- Signed email is an absolute defence against phishing. This email has been signed with my private key. If you import my public key you can automatically decrypt my signature and be sure it came from me. Your email software can handle signing.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7b29b24b-64f0-4f93-9a43-5d8f5e242b57%40dewhirst.com.au.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOofabeYp%2B3kTHm4k5mQRL-jpHtgqtJADqUYPyAi%2BbjW3fh67g%40mail.gmail.com.
No comments:
Post a Comment