celerybeat Questions
5
Solved
I am trying to get started with celery, but I can't get my task up and running. I have installed django-celery-beat and celery4.
My settings file.
Installed apps (with celery packages)
...
'djan...
Steinberg asked 24/10, 2017 at 14:37
4
After many days I have a working celery and celery beat task list, and the results are stored using django_celery_results. However when I look at the table record, it hasn't got any useful informat...
Cycloplegia asked 28/9, 2017 at 13:39
6
It's not a question but help to those who will find that the declaration of periodic tasks described in celery 4.0.1 documentation is hard to integrate in django:
http://docs.celeryproject.org/en/l...
Balladry asked 13/12, 2016 at 10:40
1
I am running a celerybeat scheduler every 15 mins where I need to fetch data from API (rate limit = 300 requests/min max) and store the results into the database. I would like to fetch the urls in ...
Gabriellagabrielle asked 3/4, 2018 at 12:0
1
I am newbie to Celery. I create a project as per instruction provided by the celery4.1 docs.Below is my project folder and files:
mycelery
|
test_celery
|
celery_app.py
tasks.py
__init__.py...
Mattern asked 24/1, 2017 at 6:41
10
Solved
time="2017-10-27T07:39:20Z" level=error msg="Can't add file /var/app/current/app/content_classifier/forest.pickle to tar: io: read/write on closed pipe"
time="2017-10-27T07:39:20Z" level=error msg...
Inheritor asked 27/10, 2017 at 8:57
2
Solved
Everything worked perfectly fine until:
celery beat v3.1.18 (Cipater) is starting.
__ - ... __ - _
Configuration ->
. broker -> amqp://user:**@staging-api.user-app.com:5672//
. loader ->...
Willett asked 25/9, 2015 at 15:33
1
i work on a celery beat task within a django project which creates Database entries periodically. I know so beacuse when i set the task up like this :
celery.py:
from __future__ import absolute_i...
Minster asked 14/4, 2019 at 17:26
4
Solved
Currently, I have periodic tasks set up with a Job Scheduler on my Azure instance. These are triggering API (Django) endpoints at fixed times.
I want to make these times dynamic (which will not w...
Agamete asked 11/5, 2018 at 16:2
9
Solved
If I have a function defined as follows:
def add(x,y):
return x+y
Is there a way to dynamically add this function as a celery PeriodicTask and kick it off at runtime? I'd like to be able to do ...
Spoken asked 17/4, 2012 at 16:13
2
Solved
I am using celery and redis as two services in my docker setup. Configuration is as below:
redis:
image: redis:latest
hostname: redis
ports:
- "0.0.0.0:6379:6379"
command:
--requir...
Metencephalon asked 20/3, 2018 at 4:49
4
Solved
My flask app is comprised of four containers: web app, postgres, rabbitMQ and Celery. Since I have celery tasks that run periodically, I am using celery beat. I've configured my docker-compose file...
Lina asked 6/4, 2018 at 12:45
2
Solved
im having trouble passing arguments to my functions via celerybeat schedule. After searching it looks as though I should be able to pass them with the args command but im getting errors as per the ...
Sofer asked 5/10, 2017 at 12:28
1
The situation
I have a celery task I am running at different timezone for each customer.
Basically, for each customer in my database, I get the timezone, and then I set up the celery task this way....
Henhouse asked 21/2, 2022 at 10:16
1
Solved
After quite a bit of trial and error and a step by step attempt to find solutions I thought I share the problems here and answer them myself according to what I've found. There is not too much docu...
Quincyquindecagon asked 26/11, 2021 at 18:13
1
Solved
celery --version
5.1.2 (sun-harmonics)
django --version
3.2.8
I have a celery schedule that has four tasks that run in different timezones. I am using nowfun for setting the timezones and have set ...
Credendum asked 29/10, 2021 at 8:30
2
Solved
I am trying to run a periodic celery task using celery beat and docker for my Flask application. However when I run the container I get the below error:
Removing corrupted schedule file 'celerybea...
Potassium asked 25/5, 2020 at 10:54
8
In my Django project, I use Celery and Rabbitmq to run tasks in background.
I am using celery beat scheduler to run periodic tasks.
How can i check if celery beat is up and running, programmaticall...
Isobel asked 12/2, 2016 at 5:57
3
Solved
If I create a celery beat schedule, using timedelta(days=1), the first task will be carried out after 24 hours, quote celery beat documentation:
Using a timedelta for the schedule means the task...
Keek asked 10/3, 2015 at 10:39
3
celeryd doesn't require a pidfile, but celerybeat seems to. Is there any way to disable it? I'm using Upstart to manage processes so using a pidfile is redundant.
Cati asked 4/6, 2012 at 4:14
2
How do you diagnose why manage.py celerybeat won't execute any tasks?
I'm running celerybeat via supervisord with the command:
/usr/local/myapp/src/manage.py celerybeat --schedule=/tmp/celerybeat...
Laager asked 12/6, 2013 at 17:26
1
How do I go about scheduling my tasks differently for weekdays and weekends in celery beat?
The schedule is set as follows in my settings.py file
{
"task_weekday": {
"task": &...
Xylo asked 22/3, 2021 at 1:9
2
Solved
I followed celery docs to define 2 queues on my dev machine.
My celery settings:
CELERY_ALWAYS_EAGER = True
CELERY_TASK_RESULT_EXPIRES = 60 # 1 mins
CELERYD_CONCURRENCY = 2
CELERYD_MAX_TASKS_PER_...
Epigeous asked 17/4, 2014 at 9:55
2
Is there a way to start the celery worker and beat in one command? I would like to add celery to my automated deployment procedure with Fabric.
I am currently running:
celery -A prj worker -B
...
Clarhe asked 2/3, 2017 at 21:28
1
I have a implemented a python command which starts celery
@click.command("tasks", help="run this command to start celery task queue")
def tasks():
"""
Runs the celery task queue
"""
from cele...
Mosaic asked 30/12, 2019 at 2:30
1 Next >
© 2022 - 2024 — McMap. All rights reserved.