Тёмный

Learn Django Celery - Intro to scheduling Tasks - Part 3 

Very Academy
Подписаться 66 тыс.
Просмотров 32 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@simarjitkaur2864
@simarjitkaur2864 Год назад
you don't have even idea how awesome u r.. thankyou very much for existing.. thankyou very much for uploading this.. it literally saved my life ...
@Jumalungma-ls8rz
@Jumalungma-ls8rz Год назад
Your lessons are still helpful! Thank you!
@rakeshpk4991
@rakeshpk4991 3 года назад
Very good explanation.
@veryacademy
@veryacademy 3 года назад
Glad it was helpful!
@sabarinathjv4511
@sabarinathjv4511 3 года назад
if your addition task is not shown in admin page, add these in the root __init__.py file from __future__ import absolute_import , unicode_literals from .celery import app as celery_app __all__=('celery_app',)
@veryacademy
@veryacademy 3 года назад
Thanks for this
@ajaysudhakaran9010
@ajaysudhakaran9010 2 года назад
Thanks bro...😍
@taqihussain4595
@taqihussain4595 2 года назад
@@ajaysudhakaran9010 you are a life saver
@bomaanjang6580
@bomaanjang6580 3 года назад
Thanks Sir, Very Helped :like:
@veryacademy
@veryacademy 3 года назад
You are welcome
@practicalbong1497
@practicalbong1497 2 года назад
add task is not showing as register task why only send mail is showing?
@budi0580
@budi0580 3 года назад
Excellent video. What do you think if we use celery beat + redis ?
@veryacademy
@veryacademy 3 года назад
Hello Budi, I prefer working with Redis, so yeah give it a go.
@rithikraj9664
@rithikraj9664 4 года назад
Great video !! I am having a little issue though. While adding periodic task in Django Administration page, only one task is coming is Task(registered) option. What can be the issue ?
@veryacademy
@veryacademy 4 года назад
Strange one. Good that at least 1 task is showing suggesting that part of the system is ok. Such a tricky one to suggest. I will have a think
@veryacademy
@veryacademy 4 года назад
Hmm I asked around, no-one seems to want to commit to this one. Hard to diagnose without error code or looking at this one. This set of tools - really so many things can go wrong. Keep trying step by step you will get there
@rithikraj9664
@rithikraj9664 4 года назад
@@veryacademy In cmd line all tasks are showing under registered task but can't find those in UI. Indeed a strange one.
@rithikraj9664
@rithikraj9664 4 года назад
@@veryacademy Yes, I might have missed something or there may be some version issue, I will try again. Anyway keep up the great work man, This 6 video tutorial series helped me a lot today.
@juanvizcaya9487
@juanvizcaya9487 3 года назад
I have the same issue, I have this in the celery output: [tasks] . add . bkup . proj.celery.debug_task . send_review_email_task But in the django admin panel, I can only choose the last one "send_review_email_task".
@angelleal3005
@angelleal3005 Год назад
Does flower display the tasks results or just the tasks ? I see some repeated rows but with different statuses. Also is there a way to use flower or any other tool to check the celery queue as tasks are put in and out ?
@k.m.jiaulislamjibon1443
@k.m.jiaulislamjibon1443 3 года назад
excellent videos.... did you stopped the celery series also I'm not seeing the playlist. could you please make a playlist
@veryacademy
@veryacademy 3 года назад
Hi, I do have a playlist - ru-vid.com/group/PLOLrQ9Pn6caz-6WpcBYxV84g9gwptoN20 I will come back to it bigger and better.
@abuajmalmajidponnethabu2858
@abuajmalmajidponnethabu2858 2 года назад
great!
@harryodendaal345
@harryodendaal345 3 года назад
My tasks are not showing up as registered im not sure why pretty sure I followed correctly the email one is showing up the rest are not
@veryacademy
@veryacademy 3 года назад
Hi Harry, its just one of those things - everything needs to align just right. Sorry I cant be of anymore assistance at this point. Does the sample code work?
@harryodendaal345
@harryodendaal345 3 года назад
@@veryacademy its fixed I saw in the next video that I needed to add something to the proj's init file I dont know how i missed that : {
@Daniel-eg8kz
@Daniel-eg8kz Год назад
I am getting this response anytime I try the "flower -A core --port=5555 command: flower" : The term 'flower' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + flower -A core --port=5555 + ~~~~~~ + CategoryInfo : ObjectNotFound: (flower:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I have tried running VS code as administrator, uninstalling flower and reinstalling and no difference
@AmithTalentPlace
@AmithTalentPlace 4 месяца назад
did u able to fix that??
@mayureshsatao
@mayureshsatao 2 года назад
Flower command didn't worked for me, celery flower --port=5566 (this one worked)
@AmithTalentPlace
@AmithTalentPlace 4 месяца назад
y did u used this, did u get flower not recognized error??
@udechekwube9929
@udechekwube9929 3 года назад
Pls how do I deploy it on namecheap cpanel....can't install rabbitmq
@veryacademy
@veryacademy 3 года назад
Hello Ude, I would first ask namecheap if that is even possible.
@udechekwube9929
@udechekwube9929 3 года назад
@@veryacademy but using a docker or cloud will work?
@alihusham1560
@alihusham1560 3 года назад
💖
@veryacademy
@veryacademy 3 года назад
👍
@yasirkhan1278
@yasirkhan1278 2 года назад
This command does not work for me I am working on windows and this command results in error flower -A core --port=5555 Error = Flower doesn't recognized as internal or external command. Then I tried --> celery flower --port=5566 And getting this error: kombu.exceptions.OperationalError: timed out Any help would be really appreciated. Thank you
@yulianrudenko9926
@yulianrudenko9926 Год назад
try "celery -A your_project_root_folder flower --loglevel=info" instead
@valett5229
@valett5229 6 месяцев назад
are tasks in "CELERY_BEAT_SCHEDULE" equivalent to tasks in admin's page "Periodic tasks"?
@shreymittal3907
@shreymittal3907 4 года назад
Excellent video. thanks for explaining in such a simple way
@veryacademy
@veryacademy 4 года назад
Thank you!
@jsr7599
@jsr7599 3 года назад
In under an hour, you taught me how to automate my programming. Subscribed + thank you so much!
@veryacademy
@veryacademy 3 года назад
Glad it helped! 👍
@tareqmahmud7760
@tareqmahmud7760 4 года назад
flower -A core --port=5555 is not working for me facing "ImportError: cannot import name 'Command' from 'celery.bin.base' (....python3.8/site-packages/celery/bin/base.py)"
@rithikraj9664
@rithikraj9664 4 года назад
You might be using celery 5. Try uninstalling that and install celery 4.4.7. This worked for me.
@tareqmahmud7760
@tareqmahmud7760 4 года назад
you are correct. that was the issue
@veryacademy
@veryacademy 4 года назад
Everything working now?
@tareqmahmud7760
@tareqmahmud7760 4 года назад
Yes
@supersecretname3686
@supersecretname3686 4 года назад
@@rithikraj9664 are there any other steps when using docker, as I have changed to celery==4.4.7 but it hasn't resolved the error
@mohamedelmeziani4012
@mohamedelmeziani4012 3 года назад
Can we use this for sending emails every 24 hours for example
@veryacademy
@veryacademy 3 года назад
yeah sure you could set that up
@specialnwachukwu7031
@specialnwachukwu7031 11 месяцев назад
Nice job, I would love it if you could do a video for deploying to railway using Django, celery, celery beat and redis
@hernansaa
@hernansaa Год назад
amazing content
@XeUs87
@XeUs87 3 года назад
Is there anyway to send an email base on a datetime field?I have model that has a Datetime field. I want to send an email 2 days before the date of that field. I can't find anything , celery , celery beat ,crontab can't help. I'm getting mad
@johnnwabuforudemezue1108
@johnnwabuforudemezue1108 Год назад
hey. Thanks, For this video, can we use celery to build an activity stream on our website with Celery
@rhawool
@rhawool 2 года назад
Thank you for the video. Could you please let me know how to run the celery worker and django celery beat when the project starts?
@sushantnerkar4028
@sushantnerkar4028 Год назад
If we are scheduling sending emails tasks then what should be the format of the args when we pass them is it list or Dict?
3 года назад
Awesome content, thank you!
@veryacademy
@veryacademy 3 года назад
Glad you liked it! 👍
@amirhosseinrahimi1448
@amirhosseinrahimi1448 Год назад
hi...tnx for toturial series....please upload new videos
@angeldavid4514
@angeldavid4514 3 года назад
When I schedule tasks with crontab it doesn't work but without it works, what is my error?
@siranjeevik5016
@siranjeevik5016 4 года назад
Thank you , very helpful tutorial video.
@veryacademy
@veryacademy 4 года назад
Glad it was helpful! Thank you!
@MoviesRecappS-uy7zt
@MoviesRecappS-uy7zt 3 года назад
can you send commands.txt file
@veryacademy
@veryacademy 3 года назад
I don't have it - is it not in the code repository?
@vladimirbondarenko3281
@vladimirbondarenko3281 3 года назад
Thanks. Keep up good work.
@veryacademy
@veryacademy 3 года назад
Thanks, will do!
@RahulChauhanart
@RahulChauhanart 3 года назад
is it possible to do this in flask?
@veryacademy
@veryacademy 3 года назад
medium.com/@frassetto.stefano/flask-celery-howto-d106958a15fe
@RahulChauhanart
@RahulChauhanart 3 года назад
@@veryacademy Thankyou for the quick reply, appreciated 👍
@0transcendence971
@0transcendence971 4 года назад
Thanks you are amazing
@veryacademy
@veryacademy 4 года назад
Thank you too! 👍
@abdullokhalimov2012
@abdullokhalimov2012 3 года назад
Thank you a lot !)
@veryacademy
@veryacademy 3 года назад
You are welcome!
@professionalfacepuncher8361
@professionalfacepuncher8361 3 года назад
amazing video as always
@veryacademy
@veryacademy 3 года назад
Thanks again!
@alexandergarzo9415
@alexandergarzo9415 2 года назад
Excellent video!
@joshuahadap2373
@joshuahadap2373 3 года назад
This is what I call gold...
@veryacademy
@veryacademy 3 года назад
👍
Далее
Learn Django Celery - Result Back-ends - Part 4
11:31
FATAL CHASE 😳 😳
00:19
Просмотров 1,3 млн
Celery for asynchronous tasks in Django
8:46
Просмотров 7 тыс.
Docker - Django, Celery & Redis Docker Compose setup
20:29
Creating a job scheduler in a Django project
8:12
Просмотров 27 тыс.
APScheduler Cron Trigger
12:41
Просмотров 1,3 тыс.