Re: django cron Job Functionality

2021-06-12 Thread Ayser shuhaib
I’m sorry for that. This is the video I meant to send you https://youtu.be/1vrQIdMF4LY On Sat, 12 Jun 2021 at 09:14, Eugene TUYIZERE wrote: > Dear Ayser, > > You may be sent the wrong video. The video you sent is unrelated. Please > give me the correct one. > > regards, > > On Sat, 12 Jun

Re: django cron Job Functionality

2021-06-12 Thread Eugene TUYIZERE
Dear Ayser, You may be sent the wrong video. The video you sent is unrelated. Please give me the correct one. regards, On Sat, 12 Jun 2021 at 08:56, Ayser shuhaib wrote: > Watch this video on how to schedule a task or function in your Django > project, I’m sure it will have the answer to your

Re: django cron Job Functionality

2021-06-12 Thread Lalit Suthar
https://medium.com/@yedjoe/celery-4-periodic-task-in-django-9f6b5a8c21c7 http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html http://docs.celeryproject.org/en/latest/userguide/index.html#guide https://www.agiliq.com/blog/2015/07/getting-started-with-celery-and-redis/ On

Re: django cron Job Functionality

2021-06-12 Thread Ayser shuhaib
Watch this video on how to schedule a task or function in your Django project, I’m sure it will have the answer to your question: https://youtu.be/t0xHlgWQvAk On Sat, 12 Jun 2021 at 08:54, Ayser shuhaib wrote: > https://youtu.be/t0xHlgWQvAk > > > On Sat, 12 Jun 2021 at 08:53, Ayser shuhaib >

Re: django cron Job Functionality

2021-06-12 Thread Ayser shuhaib
https://youtu.be/t0xHlgWQvAk On Sat, 12 Jun 2021 at 08:53, Ayser shuhaib wrote: > Watch this video on how to schedule a task or function in your Django > project, I’m sure it will have the answer to your question: > > > > > On Sat, 12 Jun 2021 at 08:41, Eugene TUYIZERE > wrote: > >> Thank you

Re: django cron Job Functionality

2021-06-12 Thread Ayser shuhaib
Watch this video on how to schedule a task or function in your Django project, I’m sure it will have the answer to your question: On Sat, 12 Jun 2021 at 08:41, Eugene TUYIZERE wrote: > Thank you for recommendations, > > Because I never use this Celery-beat, if possible you can give some

Re: django cron Job Functionality

2021-06-12 Thread Eugene TUYIZERE
Thank you for recommendations, Because I never use this Celery-beat, if possible you can give some sample for example for someone who used it before thanks On Sat, 12 Jun 2021 at 06:36, Nikeet NA wrote: > You should use celery for running cron jobs. > > On Friday, 11 June 2021 at 19:49:41

Re: django cron Job Functionality

2021-06-11 Thread Nikeet NA
You should use celery for running cron jobs. On Friday, 11 June 2021 at 19:49:41 UTC+5:30 kells...@gmail.com wrote: > > What I would do in such case, is to write a function somewhere that checks > if a user applied for a leave, then check if the leave time is within a > day, then do whatever

Re: django cron Job Functionality

2021-06-11 Thread Kelvin Sajere
What I would do in such case, is to write a function somewhere that checks if a user applied for a leave, then check if the leave time is within a day, then do whatever you want, like setting is_active to False. Then set the cron job to run this function every day, every hour, or however you'd

Re: django cron Job Functionality

2021-06-11 Thread Chetan Ganji
This will help you https://pypi.org/project/django-celery-beat/ On Fri, Jun 11, 2021, 5:34 PM Eugene TUYIZERE wrote: > Dear Team, > > In my application, I want a user to set for example a leave plan in the > system and the system notify the user by email for example one day before > the start

django cron Job Functionality

2021-06-11 Thread Eugene TUYIZERE
Dear Team, In my application, I want a user to set for example a leave plan in the system and the system notify the user by email for example one day before the start leave date. At the same time the system disables the user in the system. Here I have a field *is_active *and I want the system to