Wouldn't it make more sense to create a cron job for each appointment that is scheduled to run at the exact expire time, running a function that takes a specific appointment to invalidate? It would even be better if we, somehow could sync the cron job schedule time with its expire time in the case of change. I think this would be a much cheaper and efficient alternative
you would need a lot of jobs then. (create jobs for each appointment, then somehow clean up already past cron jobs). i usually prefer simple solutions. i would probably have just called the expiry of the appointments before rendering the webview.
A dental company! :) It reminds me my first Cron job was for an Energy company haha ! Thanks for this Josh
Always appreciate your comments. Thanks for sharing!
Damn its the easiest solution rather than configuring pg_cron in supabase. Thanks Josh!!
Thanks for sharing this resource. I started looking into EasyCron and found your video.
Shouldn't authentication be essential. Else someone could DOS your app by hammering requests to your database? Great video though.
Hey your videos are great! Very clean explanation thanks for the video😊
great video, frankly
Wouldn't it make more sense to create a cron job for each appointment that is scheduled to run at the exact expire time, running a function that takes a specific appointment to invalidate? It would even be better if we, somehow could sync the cron job schedule time with its expire time in the case of change.
I think this would be a much cheaper and efficient alternative
you would need a lot of jobs then. (create jobs for each appointment, then somehow clean up already past cron jobs). i usually prefer simple solutions. i would probably have just called the expiry of the appointments before rendering the webview.
Hey Josh can you implement something like this by making small project whenever you have time please consider my request.
Won't you make discord channel so we can be in contact with you
Am sure we are many on here that have so many questions
Hey whats your questions G!
@@webprodigies can't remember it's been a long time😅
lol all good G @@solomonogu1393
thank you bro
thankssss
tolles video