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

how to start worker in djcelery

how can I start a worker in djcelery using django.I am new to django and djcelery.I installed django and djcelery.but I don't know how to start the worker and how to add the worker and task.sorry for my bad english
noble
  • 53
  • 1
  • 6
0
votes
0 answers

how to make scheduling in django using djcelery

How can I make scheduling in django using djcelery with redis.How can i add starttime and endtime using this?What is the difference between crontab and interval? Can I make scheduling using djcelery?
noble
  • 53
  • 1
  • 6
0
votes
1 answer

Django model not being created in celery task

I have a periodic celery task which is not creating my model @periodic_task(run_every=timedelta(seconds=1)) def store_products(): products = get_products() for product in products: Product.objects.create( …
acquayefrank
  • 474
  • 5
  • 21
0
votes
0 answers

Celery with Django & Redis not working

I've set up the djcelery along with redis. I can see the logs in redis redis-cli MONITOR 1454060863.881506 [0 [::1]:59091] "INFO" 1454060863.883295 [0 [::1]:59093] "MULTI" 1454060863.883314 [0 [::1]:59093] "LLEN" "celery" 1454060863.883319 [0…
Kumar Nitin
  • 1,845
  • 2
  • 16
  • 21
0
votes
1 answer

How to properly test scheduled test using djcelery

I have a periodic task using djcelery. This task is looking into the db and it makes same changes if it is necessary. As you know "python manage.py test" creates a test db, so how I can run this periodic task in this test db? I tried to run first:…
0
votes
1 answer

Changing CELERYBEAT_SCHEDULER

I'm have two django apps using the same database. Both using celery and having own CELERYBEAT_SCHEDULE. Is there a way to distinct which tasks should be run in proper celery worker ? now tasks from both apps are scheduled in the same worker. The…
mdargacz
  • 1,267
  • 18
  • 32
0
votes
1 answer

How run a daemon of djcelery with celerycam

I'm working with django celery,I have a deamon of celery with supervisor but I have a problem in the django admin I can't see the state of the task, I can only see the state of my tasks in the django admin, when I typed in console python manage.py…
nuxq
  • 1
  • 2
0
votes
0 answers

Celery scheduler does not let tasks to run

Here is excerpt from my settings.py CELERYBEAT_SCHEDULER = "djcelery.schedulers.DatabaseScheduler" import djcelery from celery.schedules import crontab djcelery.setup_loader() CELERY_IMPORTS = ("app.some.tasks",) CELERYBEAT_SCHEDULE = { …
changer
  • 329
  • 2
  • 4
  • 19
0
votes
1 answer

The right way to call a celery task from Django code?

I have a registration form that upon submission, I want to perform some data validation via some external APIs, then eventually submit to another API. I want to do this asynchronously so the submitter is not waiting 10 seconds for the form to…
zallarak
  • 5,287
  • 7
  • 38
  • 54
0
votes
1 answer

/etc/init.d/celeryd start fail on AWS

Hi I've been reading a lot about this on this forums but I just don't have an idea of what's going wrong right now, looks like everything is ok, but just don't work I set up my local configuration like this (/etc/default/celeryd): # or we could have…
Chriss Mejía
  • 110
  • 1
  • 10
0
votes
1 answer

Celerybeat service not starting

I'm trying to get celery running as a service and I'm having a problem with the CELERYBEAT_OPTS parameter. I can start the celery service just fine and I'm able to start celerybeat fine via the command line like this: celery -A base beat -S…
scoopseven
  • 1,767
  • 3
  • 18
  • 27
0
votes
1 answer

How to write a stress test script for asynchronous processes in python

I have a web application running on django, wherein an end user can enter a URL to process. All the processing tasks are offloaded to a celery queue which sends notification to the user when the task is completed. I need to stress test this app with…
user2890683
  • 403
  • 2
  • 6
  • 18
0
votes
1 answer

Mysterious unrelated task_id being returned for celery workflow.

I have a rather complex workflow (which is built dynamically) which looks something like this: workflow= chain( signature('workflow.tasks.start_workflow', kwargs= {}), chord( [ signature('workflow.tasks.group_task', kwargs= {}), …
richie
  • 1
  • 2
0
votes
1 answer

manage.py celeryd -l INFO

When i run ./manage.py celeryd -l INFO I am getting the following error Running a worker with superuser privileges when the worker accepts messages serialized with pickle is a very bad idea! If you really want to continue then you have to…
user3752103
0
votes
1 answer

How to implement job scheduling in python?

I am implementing a task scheduling system in Django. User will select a task e.g. send email and will set a very specific time and date for task execution. I found with Celery you can set up a task like @Task def email(address): …
kodeshpa
  • 549
  • 5
  • 14
1 2 3
8 9