django-celery-beat
dynamically-update-periodic-tasks
Our great sponsors
django-celery-beat | dynamically-update-periodic-tasks | |
---|---|---|
7 | 1 | |
1,567 | 4 | |
2.7% | - | |
7.5 | 10.0 | |
22 days ago | over 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-celery-beat
-
Dynamically update periodic tasks in Celery and Django
I was looking for a nice way to manipulate periodic tasks in Celery. I found an amazing django-celery-beat package that provides PeriodicTask database objects. With PeriodicTask objects, you can dynamically add/remove/update periodic tasks in Celery. I want to share my approach. I've created an example GitHub repository and wrote step-by-step article.
-
Programmatically creating user defined scheduled tasks/cron jobs.
Please take a look at https://github.com/celery/django-celery-beat with this package you can dynamically define periodic tasks. They are stored in your database, so they are persistent between deployments. I'm using this package with Celery in my project for server uptime monitoring, it is working well. I can dynamically add/delete/update any task.
-
Is it possible to link a model's field to a specific function?
Something similar is presented in django-celery-beat where you’re able to create schedule for running repeated task. So, there is choice field in admin, and choices are literally names of registered celery tasks.
-
Scheduling Tasks
I would recommend using celery in combination with celery beat scheduling and this package https://github.com/celery/django-celery-beat . What this means is if you have a task that you want to dynamically schedule for different times for different users all you have to do as add a new row to a database table and celery will handle the rest for executing.
-
How do you subscribe to a feed in Django?
If you want more control and/or visibility into your periodic tasks, I'd go with something like Celery Beat, that's easily integrated with Django: https://github.com/celery/django-celery-beat
-
Django 4.0 released
For me it was django-celery-beat
-
[Task] Python/Django $20 Overriding a model of a Django App to add a field
I use a Django extension called django-celery-beat. It creates several models & one of those models is called crontab. It has a few fields & I would like to add one more field so that I can name these crontabs for easy reference. So I need to override the model & add the field.
dynamically-update-periodic-tasks
-
Dynamically update periodic tasks in Celery and Django
I was looking for a nice way to manipulate periodic tasks in Celery. I found an amazing django-celery-beat package that provides PeriodicTask database objects. With PeriodicTask objects, you can dynamically add/remove/update periodic tasks in Celery. I want to share my approach. I've created an example GitHub repository and wrote step-by-step article.
What are some alternatives?
django-celery-docker-example - Example Docker setup for a Django app behind an Nginx proxy with Celery workers
rq - Simple job queues for Python
celery-progress - Drop in, configurable, dependency-free progress bars for your Django/Celery applications.
kombu - Messaging library for Python.
banking-system - A Banking System Concept Created Using Django Python Web Framework and Tailwind CSS
python-xlib - XLib in pure Python (Py2/Py3 compatible)
django-login-required-middleware - Requires login to all requests through middleware.
django-celery-results - Celery result back end with django
nose2 - The successor to nose, based on unittest2
KQ - Kafka-based Job Queue for Python
UpSnap - A simple wake on lan web app written with SvelteKit, Go and PocketBase.
django-celery-email - A Django email backend that uses a celery task for sending the email.