Creating a job scheduler in a Django project

preview_player
Показать описание
Being able to run our code on a schedule is an important skill to have for any developer.

In this video, I will be using the apscheduler library to run code in a Django project in pre-defined intervals.

We will be installing:


ABOUT OUR CHANNEL
Our channel is about coding a development. We cover lots of cool stuff such as Django, React, Javascript, AJAX, Coding on DLT's
Check out our channel here:
Don’t forget to subscribe!

CHECK OUT OUR OTHER VIDEOS

FIND US AT

GET IN TOUCH

FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!

SUPPORT US
HBAR wallet: 0.0.290086

HIRE ME
Need help with a project? Hire me on a freelance basis?

DISCOUNTS
Visit our website to get some fantastic discounts
Рекомендации по теме
Комментарии
Автор

I cant thank you enough. I have been banging my head after many libraries but this one's miracle. 🙏

patild
Автор

Just found this. it's awesome. been scratching my head since celery doesn't support windows. Thanks!

onyilimba
Автор

your face zooming at me at 7:37 was low key terrifying, but good video

JoshFlorii
Автор

Awesome video, I was looking for a simpler solution and this video was just spot on!

arifshariar
Автор

looks cool, i will try on my project instaed celery. Thanks

evalinor
Автор

i like how you did your explanation you just explained your code)), i think its a fresh look from all the follow along tutorials i like it keep it up.

davidrosen
Автор

great job, man you saved my project thanks a lot

qfhrrbm
Автор

great stuff. It truly made my evening!

patientprogrammer
Автор

If Job function want a value than as parameter

ansari
Автор

can you go over how we can integrate long running scripts (over 30 seconds) without interfering with the django site itself?

SuperWayneBruce
Автор

thanks, thanks,
it's easy to use, and work

mohammadalqudah
Автор

Hello, thanks for this. My scheduler seems to be running twice each time the job is to be executed. what is the way out?

pascalezeama
Автор

Hi sir, this ready function is called twice in my case. So the job is executed twice. Can you suggest what may be the cause for this? (I guess there is an issue with the structure of the project) I’m new to django and I couldn’t find where the problem is getting initiated. I found that the app.py file is called twice by adding a pront statement inside it. Can you please help me in making the job scheduler run once?

abduljabbarthameem
Автор

It mostly works for me, it is a pity that the scheduled job runs twice eacht time :/

demoproductions
Автор

got a question, hope its not sound too stupid.. what are the difference between using a job scheduler and celery cons and pros using each, or are they totally different thank you

davidrosen
Автор

It's work if we just print a message, but unable to update database table!

sondhi
Автор

If I am adding schedular start in apps.py file . It is calling twice at a time

supritkumar
Автор

Hi, I have a question please, is it possible to link the execution to a specific app. Example, my first app is a log in app, than an other app where the user choose a third app. I want that the job starts when the user choose the third app. Is it possible to do that ? In my case, it starts immediately after manage.py runserver, even if I define ready(self) in the third app. Thank you for your amazing work!

fatmakerouhkerouh
Автор

i have 10 job scheduled in that i want to remove 5th and 6th jobschedule how to do it using APS?

RANJITHKUMAR-gswg
Автор

I have done this to my django project, but not working :(

md.shifullah