Skip to content Skip to sidebar Skip to footer
Showing posts with the label Celery

Call Django Celery Task By Name

I need to call a celery task (in tasks.py) from models.py, the only problem is, tasks.py imports mo… Read more Call Django Celery Task By Name

Error Message 'no Handlers Could Be Found For Logger "multiprocessing"' Using Celery

RabbitMQ now seems to be working correctly. However, when I try python -m celery.bin.celeryd --log… Read more Error Message 'no Handlers Could Be Found For Logger "multiprocessing"' Using Celery

Importerror: No Module Named Timeutils

I'm trying to follow the install tutorial for Django-celery. After installing, I need to run mi… Read more Importerror: No Module Named Timeutils

Why Does Celery Retry, But My Job Did Not Fail?

I have a celery job to run MySQL databases, however, it always got Lock Wait Timeout. After digging… Read more Why Does Celery Retry, But My Job Did Not Fail?

How To Inspect And Cancel Celery Tasks By Task Name

I'm using Celery (3.0.15) with Redis as a broker. Is there a straightforward way to query the n… Read more How To Inspect And Cancel Celery Tasks By Task Name

How To Get All Tasks And Periodic Tasks In Celery

Possible Duplicate: How can I find all subclasses of a given class in Python? In my Django projec… Read more How To Get All Tasks And Periodic Tasks In Celery

Sharing An Oracle Database Connection Between Simultaneous Celery Tasks

I'm working with Python2.7, Celery and cx_Oracle to access the Oracle database. I create a lot … Read more Sharing An Oracle Database Connection Between Simultaneous Celery Tasks

How Can Celery Distribute Users' Tasks In A Fair Way?

The task I'm implementing is related to scrape some basic info about a URL, such as title, desc… Read more How Can Celery Distribute Users' Tasks In A Fair Way?

Celery Dies With Dbpagenotfounderror

I have 3 machines with celery workers and rabbitmq as a broker, one worker is running with beat fla… Read more Celery Dies With Dbpagenotfounderror

Run While Loop Concurrently With Flask Server

I'm updating some LEDs using python. I've been doing this like so: from LEDs import * myLED… Read more Run While Loop Concurrently With Flask Server

Place A Timeout On Calls To An Unresponsive Flask Route (updated)

I currently have a route in a Flask app that pulls data from an external server and then pushes the… Read more Place A Timeout On Calls To An Unresponsive Flask Route (updated)

Django Related Objects Are Missing From Celery Task (race Condition?)

Strange behavior, that I don't know how to explain. I've got a model, Track, with some rela… Read more Django Related Objects Are Missing From Celery Task (race Condition?)

Pause Celery Task

I'm trying to pause a celery task temporary based on user button click. What I've done is: … Read more Pause Celery Task

How To Run Airflow With Celeryexecutor On A Custom Docker Image

I am adding airflow to a web application that manually adds a directory containing business logic t… Read more How To Run Airflow With Celeryexecutor On A Custom Docker Image

How Do I Run Background Job In Flask Without Threading Or Task-queue

I am building REST API with Flask-restplus. One of my endpoints takes a file uploaded from client a… Read more How Do I Run Background Job In Flask Without Threading Or Task-queue

Celery - Importing Models In Tasks.py

I'm having an issue getting access to models in my tasks.py My goal is to send an email at var… Read more Celery - Importing Models In Tasks.py

Capture Heroku Sigterm In Celery Workers To Shutdown Worker Gracefully

I've done a ton of research on this, and I'm surprised I haven't found a good answer to… Read more Capture Heroku Sigterm In Celery Workers To Shutdown Worker Gracefully

Task Priority In Celery With Redis

I would like to implement a distributed job execution system with celery. Given that rabbitMQ doesn… Read more Task Priority In Celery With Redis

Is It Possible To Use Django Models Module Only In My Project?

I am developing a small independent python application which uses Celery. I have built this using d… Read more Is It Possible To Use Django Models Module Only In My Project?

Accessing Celery Worker Instance Inside The Task

I want to use jupyter kernels in side the celery worker. There will be one Jupyter Kernel for each … Read more Accessing Celery Worker Instance Inside The Task