Giter Site home page Giter Site logo

Comments (5)

peterlauri avatar peterlauri commented on July 17, 2024

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.

miigotu avatar miigotu commented on July 17, 2024

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.

rh0dium avatar rh0dium commented on July 17, 2024

@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.

miigotu avatar miigotu commented on July 17, 2024
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.

peterlauri avatar peterlauri commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.