Management command scheduling options

2023-10-23 Thread Mike Dewhirst
Django docs suggest cron or Windows scheduler for running management commands. I would like instead to build an internal Django based scheduler - because after migrating to a new server, setting up the new cron task will be forgotten. Is there a daily (approximately) event in a Django projec

Re: Management command scheduling options

2023-10-23 Thread Alessandro Madruga Correia
Django-celery Em seg., 23 de out. de 2023 às 07:08, Mike Dewhirst escreveu: > Django docs suggest cron or Windows scheduler for running management > commands. > > I would like instead to build an internal Django based scheduler - because > after migrating to a new server, setting up the new cro

Re: Management command scheduling options

2023-10-23 Thread Rodrigo Bistolfi
Use devops for setting up cron jobs as part of the deployment process. You could also use something like https://apscheduler.readthedocs.io/en/3.x/ if you wanna something OS independent. El lun, 23 oct 2023 a las 7:08, Mike Dewhirst () escribió: > Django docs suggest cron or Windows scheduler for

Re: Management command scheduling options

2023-10-23 Thread Ahmedrufai Otuoze
Hi Mike, I've implemented something similar to what you mentioned lately. I used this Python package called APScheduler to schedule and run database intensive queries behind the scene and then cache the result for my users to fetch from making their experience super fast. The APScheduler can be c

Django 5.0 beta 1 released

2023-10-23 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/oct/23/django-50-beta-1-released/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, se

Hiring Django Developer with Front-end skills

2023-10-23 Thread Gabriel Molocea
Looking to hire a fullstack developer for an ongoing project. The project is a crowdsourcing platform running on django 3. Current app: https://app.zignative.com , I want to add new features, fix bugs and to change the UI to be like this: https://www.figma.com/file/fzLCaCw8FL4rZHrkJ8FZnP/Zigna

Re: Management command scheduling options

2023-10-23 Thread Mike Dewhirst
On 23/10/2023 11:48 pm, Rodrigo Bistolfi wrote: Use devops for setting up cron jobs as part of the deployment process. My requirement is very lightweight and cron would definitely work for me. Both Celery and APScheduler seem like overkill. How would you ensure the cron job was established o

Redundant execution of tasks with Celery.

2023-10-23 Thread Brian Odhiambo
Hello everyone. I have scheduled tasks that get executed with Celery. On development, the scheduled tasks are executed only once. But in production, they're executed redundantly. I have my django application deployed on a private server. I've tried to examine what could be the cause of this behavio

Re: Redundant execution of tasks with Celery.

2023-10-23 Thread Migui Galan
Hi Brian, unfortunately I haven't experienced this however if you are not familiar with logging celery values in the terminal to check repeated values. Try to visit this or search similar keywords: https://stackoverflow.com/questions/31414468/print-statement-in-celery-scheduled-task-doesnt-appear-

Re: Redundant execution of tasks with Celery.

2023-10-23 Thread Migui Galan
When I develop Django + celery, I always print the values in the terminal to check it. On Tue, Oct 24, 2023 at 2:33 PM Migui Galan wrote: > Hi Brian, unfortunately I haven't experienced this however if you are not > familiar with logging celery values in the terminal to check repeated > values.