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 on a new server?

Mike

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 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 project I can
hook into and test the date?

The task is somewhat database intensive and needs to run quarterly
for some users, monthly for most and weekly for others depending
on their preferences.

Ideas anyone?

Thanks

Mike

-- 
Signed email is an absolute defence against phishing. This email has

been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

-- 
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,
send an email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/7b29b24b-64f0-4f93-9a43-5d8f5e242b57%40dewhirst.com.au

.

--
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, send 
an email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMQZ-Rf5sRxEZNEoGxHjh6f88FGsWHgTqCp%2BbUY4%2BH4GX3_7Kg%40mail.gmail.com 
.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8feecef1-d78b-4db1-a01f-15c08d7035c2%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature


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/Zignative-V2?type=design=0%3A1=design=WumamG5ko45UFwGW-1

Rate: 20-22$/hour

Send me your CV/linkedin, and we can schedule an intro meeting.

-- 
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eece51b3-ce51-40db-9b44-fa42baa7bf10n%40googlegroups.com.


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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BfOnFbYwY-Q%2BT%2B_woL_0eE1emSj4OiSUQdhdvu_9AVmdN%3D%3DLw%40mail.gmail.com.


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 configured to run at any interval daily, weekly,
monthly or any customized interval you require. It's a game changer and a
quick win for Windows based OS as they don't support the use of Celery or
any other Linux based schedulers without WSL.

Do let me know if you're interested in my implementation, I'm open to show
you.

Regards

On Mon, Oct 23, 2023, 11:09 AM Mike Dewhirst  wrote:

> 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 project I can hook into
> and test the date?
>
> The task is somewhat database intensive and needs to run quarterly for
> some users, monthly for most and weekly for others depending on their
> preferences.
>
> Ideas anyone?
>
> Thanks
>
> Mike
>
> --
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Your
> email software can handle signing.
>
> --
> 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, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7b29b24b-64f0-4f93-9a43-5d8f5e242b57%40dewhirst.com.au
> 
> .
>

-- 
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA50JbfV1VXkpeoXLEcsOp2j0WeXM5dfKH9BbQKLAeipnOhvsQ%40mail.gmail.com.


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 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 project I can hook into
> and test the date?
>
> The task is somewhat database intensive and needs to run quarterly for
> some users, monthly for most and weekly for others depending on their
> preferences.
>
> Ideas anyone?
>
> Thanks
>
> Mike
>
> --
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Your
> email software can handle signing.
>
> --
> 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, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7b29b24b-64f0-4f93-9a43-5d8f5e242b57%40dewhirst.com.au
> 
> .
>

-- 
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMQZ-Rf5sRxEZNEoGxHjh6f88FGsWHgTqCp%2BbUY4%2BH4GX3_7Kg%40mail.gmail.com.


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 cron task will be
> forgotten.
>
> Is there a daily (approximately) event in a Django project I can hook into
> and test the date?
>
> The task is somewhat database intensive and needs to run quarterly for
> some users, monthly for most and weekly for others depending on their
> preferences.
>
> Ideas anyone?
>
> Thanks
>
> Mike
>
>
> --
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Your
> email software can handle signing.
>
> --
> 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, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7b29b24b-64f0-4f93-9a43-5d8f5e242b57%40dewhirst.com.au
> 
> .
>

-- 
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOofabeYp%2B3kTHm4k5mQRL-jpHtgqtJADqUYPyAi%2BbjW3fh67g%40mail.gmail.com.


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 project I can hook 
into and test the date?


The task is somewhat database intensive and needs to run quarterly for 
some users, monthly for most and weekly for others depending on their 
preferences.


Ideas anyone?

Thanks

Mike

--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7b29b24b-64f0-4f93-9a43-5d8f5e242b57%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature