Comments (5)
In my case, when removing tasks, or disabling them, beat doesn't update the schedule...
Python: 3.6.1
Django: 1.11
django-celery-beat==1.0.1
Is there anyway to reset the schedule? Meaning ask django celery beat to clean and reload schedules from database?
from django-celery-beat.
Restarting just the beat process works. Im hoping to find a way for it to start auto-updating the schedule from the db also.
from django-celery-beat.
@miigotu Would you mind confirming your versions. Restarting does NOT work for me.
Also can you run - celery -A <APPNAME> report | grep CEL
. Can you also confirm the versions using celery -A <APPNAME> report | head -7
software -> celery:4.0.2 (latentcall) kombu:4.0.2 py:2.7.10
billiard:3.5.0.2 py-amqp:2.1.4
platform -> system:Darwin arch:64bit imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:django-db
CELERY_BROKER_PORT: u'5672'
CELERY_RESULT_SERIALIZER: u'json'
CELERY_BROKER_URL: u'amqp://icmadmin:********@localhost:5672/icmanage'
CELERY_TASK_TIME_LIMIT: 28800
CELERY_TASK_TRACK_STARTED: True
CELERY_WORKER_CONCURRENCY: 4
CELERY_BROKER_HOST: u'localhost'
CELERY_BROKER_USER: u'icmadmin'
CELERY_RESULT_BACKEND: u'django-db'
CELERY_TASK_SERIALIZER: u'json'
CELERY_BROKER_PASSWORD: u'********'
CELERY_ACCEPT_CONTENT: [u'json']
CELERY_BEAT_SCHEDULER: u'django_celery_beat.schedulers:DatabaseScheduler'
CELERY_SEND_EVENTS: True
CELERY_SEND_TASK_ERROR_EMAILS: True
from django-celery-beat.
software -> celery:4.0.2 (latentcall) kombu:4.0.2 py:2.7.13
billiard:3.5.0.2 py-amqp:2.1.4
platform -> system:Linux arch:64bit imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:pyamqp results:django-db
CELERY_BROKER_URL = 'pyamqp://:***@127.0.0.1/***'
CELERY_RESULT_BACKEND = 'django-db'
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_BEAT_SCHEDULER = 'django_celery_beat.schedulers:DatabaseScheduler'
However, I am not actually using 4.0.2,
git+git://github.com/celery/celery.git@8c8354f#egg=celery
from django-celery-beat.
Restarting does not work for me. I have ditched using this app for now, and I don't have time to recreate this in the old environment. I'll keep watching this thread, as I would like to have the possibility to keep the scheduling in the db and not in the settings file.
from django-celery-beat.
Related Issues (20)
- Custom schedule type is not being used
- django 5.0 HOT 24
- CrontabSchedule uniqueness HOT 3
- celery beat_schedule can not automove HOT 1
- schedule task HOT 1
- (Django 5.0.1) AttributeError at /admin/django_celery_beat/crontabschedule/add/ HOT 3
- can I reduce number of beats? HOT 1
- I think there is no longer a need for `self.celery_app.loader.import_default_modules()` in the admin HOT 7
- Received unregistered task of type <app.tasks.function_name> HOT 1
- Rethinking total_run_count reset for one-off tasks in is_due HOT 1
- Add `sphinxcontrib-django` to docs extensions
- Error in logfile HOT 3
- Getting RuntimeWarning with django-celery-beat==2.6.0, django==5.0.3 HOT 7
- Admin: show tasks for each schedule
- Scheduled tasks not running despite showing in beat config HOT 1
- Invalid crontab is created, but breaks database scheduler
- migration returns error HOT 1
- Logging system exception when celery beat can not connect to redis
- Remove Strict Upper Version Limit for Django HOT 12
- How to update PeriodicTask after updating tasks in `app.conf.beat_schedule` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-celery-beat.