Questions tagged [djcelery]

For questions about djcelery, the django-celery pluggable app for Celery integration with Django.

djcelery refers to pluggable app for Celery integration with Django.

122 questions
0
votes
1 answer

celery beat fail when using djcelery schedule

I have a bit of a challenge and wonder if someone can help. I don't have any problem running celery manually,however if I use the beat with djcelery scheduler, I get a bunch of database errors. worker: Warm shutdown (MainProcess) (environment)…
0
votes
1 answer

Celery executes a task after calling task.delay() for 3-5 times

I am using celery in django project. I have tried using rabbitmq and redis backend but neither does work. Used celery version is 3.1.26.post2. I have to call 2, 3 sometimes 5 times task.delay() to see the task running. And sometimes usually after…
Alihaydar Gubatov
  • 988
  • 1
  • 12
  • 27
0
votes
0 answers

django 2.1 celery not execute asyncron task

i try to execute background function using celery: this is my current code : from VideoPublish.models import TitleVideo, Videos from celery.decorators import task from UploadExpert.celery import app # Create your views here. demo_titles…
krakiun
  • 15
  • 5
0
votes
1 answer

Error handling while using chain of groups in celery

I have 100 tasks. But I want to process only 4 tasks at a time. Once these 4 tasks get completed i want to run the next set of 4 tasks. This can be done by grouping tasks in sets of 4 and then chaining them. But some tasks may fail in between, how…
DUDE_MXP
  • 724
  • 7
  • 24
0
votes
0 answers

Run Celery Tasks at the end of all others celery tasks

I have First Function say A. This function will call Celery Task Cel_task1 in a loop and for each Cel_task1 will call another celery task Cel_task2 and each Cel_task2 will call celery task Cel_task3 and Cel_task3 will calculate result and save to…
0
votes
1 answer

get djcelery periodic task data inside the django app and keep the data in the entire application without store in file and db?

I am getting the polling data by running celery beat scheduler and periodic task. I like to share this data with the Django server. this data should available for the entire Django application server. is there anyway? and I don't want to share this…
Srikanth
  • 47
  • 4
0
votes
2 answers

Issue with django-celery Not running at specific time

I am having issues with django-celery not running at the time specified, but it's always runnning every 1 minute. Below I have pasted the tasks.py, settings.py and celery.py. I have tested with djcelery and as well as celery. I am using…
Sindhujit
  • 51
  • 9
0
votes
0 answers

Showing KeyError: 'schedules.tasks.run' while running the django celery for periodic tasks

I've created a classes based periodic task using djcelery to send emails to the client. Task is performing the action and sending email when it is called from shell but while using the crontab, I am getting KeyError as "Schedule.tasks.run". I have…
0
votes
0 answers

celery tasks are not running

I am using celery 3.1.18 with django 1.7 and redis. I am using CELERY_RESULT_BACKEND as redis. But the problem is whenever I push the task to the celery queue. I am not able to see celery-task-meta* key in redis. Please help
siger
  • 1
  • 4
0
votes
1 answer

Run celery with Django start

I am using Django 1.11 and Celery 4.0.2. We are using a PaaS (OpenShift 3) which runs over kubernetes - Dockers. I am using a Python image, it knows only how to run one command on start (and follow for exit code - restart if fails), How can I run…
Oz Bar-Shalom
  • 1,747
  • 1
  • 18
  • 33
0
votes
1 answer

celery periodic task as asnyc on django

I'm not good at english, so if you cannot understand my sentence, give me any comment. I use celery for periodic task on django. CELERYBEAT_SCHEDULE = { 'send_sms_one_pm': { 'task': 'tasks.send_one_pm', 'schedule':…
beCurious
  • 152
  • 7
0
votes
1 answer

celeryd-multi command unknown when using Django/djcelery

I'm using Django with Celery with the installed app djcelery. I'm trying to start multiple workers on the command line. I can run python manage.py celeryd without any issues. Everywhere, including Celeryd Docs, says that the command is celeryd-multi…
Andrew_CS
  • 2,542
  • 1
  • 18
  • 38
0
votes
1 answer

Not record celery task parameter in djcelery

I used django + celery + python + djcelery + flower for my development. In the view of django. I did something like: def handle(req): task_name.apply_async(args=(req.POST['username'], req.POST['password'], 'p1', 'p2'), queue='x') everything…
zhihuifan
  • 1,093
  • 2
  • 16
  • 30
0
votes
1 answer

Celery configuration gets updated when calling a different task

I have multiple tasks as different django apps using a RabbitMQ broker. This was setup with standard django configuration and was working perfectly. I was using groups, chains and calling them from different modules. As a standard practice, I…
Confused
  • 617
  • 1
  • 9
  • 17
0
votes
1 answer

how we can add a new task in celery without stop celery instance in django celery?

@shared_task def forgot_email(subject,user_cipher,key_cipher,to): print "comes here in the mail" try: email_content = {'user_cipher':user_cipher,'key_cipher': key_cipher} message =…
GauravInno
  • 317
  • 1
  • 2
  • 14
1 2 3
8 9