You can use the PostgreSQL pg_cron extension to schedule maintenance commands within a PostgreSQL database. For more information about the extension, see What is pg_cron? in the pg_cron documentation.…
View More Scheduling maintenance with the PostgreSQL pg_cron extension