Just had a thought re-reviewing one of my PRs: Are...
# developers
r
Just had a thought re-reviewing one of my PRs: Are any cron-related features we add to the app (e.g. daily digests, booking reminders, scheduled SMS’, scheduled WhatsApp) fully functioning on self-hosted deployments? For main Cal.com, we’re relying on GitHub Actions to trigger crons (by poking an API endpoint, validated with CRON_KEY). Might be worth a new docs page under “Self Hosting” noting how to re-implement those in more traditional environments (actual crontabs), or otherwise (Google Cloud Scheduler, and AWS / Azure equivalents – that I’m sure exist?). I’d be happy to draft something up if the docs are open source?
a
This sounds good. The docs are yet to have a GitHub integration, unfortunately. We're waiting on Motif to help us out with that. I believe a guide (back linked to a note/cron section in the self hosting page) would probably be a fantastic way to document this.
z
Should be worth also migrating some of these cron jobs to actual Vercel cron endpoints? https://vercel.com/guides/how-to-setup-cron-jobs-on-vercel
w
Folks, what about “native” node solutions such as
node-cron
?
It wouldn't require anything from the folks that are self-hosting since it'll run directly on the container that they are already hosting
z
node-cron would only work on dedicated servers. Not on serverless. Agreed that Ideally we cater to both.