pg_cron is a popular Postgres extension to run cron jobs within a Postgres instance. It's not supported by Render right now: https://render.com/docs/databases#postgresql-extensions