Awake PlanetScale database using CloudFlare's Scheduled Worker.
You will need to create CloudFlare kv:namespace
and kv:key
(s) for endpoint
and token
(in my case).
As your case may be very different, feel free to tweak it as needed.
I needed this for personal use, but I'm sharing it publicly so that anyone can use it. Tweak it as needed. In my case, it will hit POST & DELETE request once a week, keeping my PlanetScale database awake at all times.
Official docs https://developers.cloudflare.com/workers/examples/cron-trigger/