Need to trigger action on 4th Saturday of the month

2023-07-25 Thread M Cain
User application permits registration for upcoming events. User wants the registration page to be open on 4th Saturday of every month at 9am ET as the events are very popular with limited capacity and made available on first come first serve basis. Django application is deployed on Heroku. H

Re: Need to trigger action on 4th Saturday of the month

2023-07-25 Thread Ross Meredith
No need to involve anything asynchronous, if I understand you correctly. Just check when the request is made whether it's the right time. If so process the registration, otherwise show the other page to indicate it's the wrong time. Ross On Tue, Jul 25, 2023 at 7:13 PM M Cain wrote: > User app

Re: Need to trigger action on 4th Saturday of the month

2023-07-25 Thread Chetan Ganji
Hi Mr Cain, This would make more sense to me! https://django-celery-beat.readthedocs.io/en/latest/ You could create background tasks to create background tasks that run at any specific time ;-) AFAIK, this solution is as good as it can get! Thanks! Regards, Chetan Ganji +91-900-483-4183 ganji.c

Re: Need to trigger action on 4th Saturday of the month

2023-07-25 Thread Sebastian Jung
Very cool solution chetan. I think i should try it. Thank you Chetan Ganji schrieb am Di., 25. Juli 2023, 22:56: > Hi Mr Cain, > > This would make more sense to me! > https://django-celery-beat.readthedocs.io/en/latest/ > > You could create background tasks to create background tasks that run at

Re: Need to trigger action on 4th Saturday of the month

2023-07-25 Thread Mike Dewhirst
On 25/07/2023 10:47 pm, M Cain wrote: User application permits registration for upcoming events.  User wants the registration page to be open on 4th Saturday of every month at 9am ET as the events are very popular with limited capacity and made available on first come first serve basis. Djang

Re: Need to trigger action on 4th Saturday of the month

2023-07-27 Thread M Cain
thank you. I will try it out. On Tuesday, July 25, 2023 at 4:57:33 PM UTC-4 Chetan Ganji wrote: > Hi Mr Cain, > > This would make more sense to me! > https://django-celery-beat.readthedocs.io/en/latest/ > > You could create background tasks to create background tasks that run at > any specific

Re: Need to trigger action on 4th Saturday of the month

2023-07-27 Thread M Cain
thank you Ross. that is an interesting idea. in my USE case, i would need to check if today is sign up Saturday and then display the 'Signup Saturday page', otherwise leave the other pages active. On Tuesday, July 25, 2023 at 3:06:38 PM UTC-4 Ross Meredith wrote: > No need to involve anything