Giter Site home page Giter Site logo

Comments (5)

thedrow avatar thedrow commented on August 16, 2024 1

I'm assuming this is fixed with the new release. Please correct me if I'm wrong.

from django-celery-beat.

razerraz avatar razerraz commented on August 16, 2024

Works for me for crontab, tasks get added/disabled/removed/updated flawlessly without restarting (thanks for all involved at resolving this issue )

Doesn't work at all for tasks with intervals, even with restarting. The task is run one time and then nothing.

Celery 4.1.0
Django celery beat from git
Don't forget to run the django-celery_beat migrations in your project

from django-celery-beat.

razerraz avatar razerraz commented on August 16, 2024

I have done further investigations
First, I noticed a bug in celery 4.1.0 when use_tz is true, and with same timezone for django and celery : apply_async method stopped working because of bad ETA due to tz. This bug is pointed by DDevine with commit here.
Next, I install celery from git repo to have last commits, including this one. After that, nothing works, even after restarting beat process. I tried this git and the DDevine one : same behaviour -> tasks added before update are running, new ones aren't even after restart. Old tasks stop working after editing them.
I can try further tests if you tell me what to look for

from django-celery-beat.

DDevine avatar DDevine commented on August 16, 2024

You must use the latest Celery (from Git) too - I have seen that you have refrence celery/celery#4173. There's a lot of inter-dependent behaviour. Thanks for looking into this though @razerraz !
The other thing you can try as part of debugging is resetting last_run_at by using the code snippet described in #30
Can I please get some guidance on my pull-request @auvipy ?

from django-celery-beat.

auvipy avatar auvipy commented on August 16, 2024

sure

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.