Questions tagged [celery-task]

celery-task is a building block of Celery distributed task queue system

celery-task is a building block of Celery distributed task queue system. Basically, it is a python class, but it can be created out of any callable by @celery.task decorator.

727 questions
-1
votes
1 answer

Has there been a fix for this issue related to celery? https://github.com/celery/celery/issues/3519

Celery seems to be picking both my old code and new code. I have tried clearing cache, clearing the broker queue(redis), restarting celery etc. But none of them seem to be fixing this issue. For context, we have new releases going to various servers…
Vasanth S
  • 94
  • 9
-1
votes
1 answer

python2.7 celery (wait for command, retrieve output)

First of all, I don't know what's the best way to get the functionality I would like to archive in the end. My code will do the following: @celery.task def updateServerByID(sevrerID): #run update task os.system("samplecommadn to update…
sheikh
  • 1
-1
votes
1 answer

Run celery periodic tasks on one machine only

I am working on a django project where I am using celery. I have three two big modules in the project named app1 and app2. I have created two celery apps for that which are running on two separate machines. In the app1 and app2 there are different…
-1
votes
1 answer

Celery both workers getting same task even if theres different queue and routing key defined

I have settings in my celery config CELERY_QUEUES = ( Queue('oracle', Exchange('exchange1'), routing_key='bitch'), Queue('neo', Exchange('exchange2'), routing_key='check'), …
ashim888
  • 206
  • 10
  • 22
-2
votes
1 answer

Is Celery still necessary in Django

I'm creating a web app with Django 3.1 and there's lots of DB interactions mostly between three tables. The queries mostly use results that are recent inputs. So query1 will run and update table1, query2 will use table1 to update2 table2 and query3…
quba
  • 123
  • 9
-2
votes
1 answer

periodic tasks at random time intervals in a day celery django

I have to download some files from source at 10AM,1PM and 12AM in a day and after downloading is done,I need to send them to my database. I want to do this daily. What should i write in the space for "code for periodic tasks". Also please tell me if…
1 2 3
48
49