How to enable/disable a hyperlink based on the clock

25 views
Skip to first unread message

Mike Dewhirst

unread,
Aug 24, 2022, 5:58:14 AM8/24/22
to Django users
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.

OpenPGP_signature

M Adnan

unread,
Aug 24, 2022, 7:08:02 AM8/24/22
to django...@googlegroups.com
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

--
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...@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.
Reply all
Reply to author
Forward
0 new messages