Comments (5)
I'm assuming this is fixed with the new release. Please correct me if I'm wrong.
from django-celery-beat.
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.
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.
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.
sure
from django-celery-beat.
Related Issues (20)
- 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
- The last_run_at time is always in UTC, which differs from my local configuration time. HOT 2
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.