Wednesday, August 24, 2022

Re: How to enable/disable a hyperlink based on the clock

Use cronjobs for this , which will run on a specific time and than make a boolean true or false than you can easily handle enable and disable on the base of the boolean

On Wed, 24 Aug 2022, 10:58 am Mike Dewhirst, <miked@dewhirst.com.au> wrote:
I want to provide a link to join a regular Zoom webinar but
enable/disable it just like a garden sprinkler.

Enable at noon on Friday, disable fifteen minutes later. Repeat for next
Friday.

It feels like I need some sort of push. I'm not a js person.

Perhaps I should be looking at htmx?

Any hints?

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. Just
ask and I'll send it to you. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/760895a6-8415-ddd4-303d-5846ba4f1fc6%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABNyTSonnY6zuKkWRYK%2BJSqM8SL72%3DAiqDhzAhLqbpazWHCTHQ%40mail.gmail.com.

No comments:

Post a Comment