pg_cron icon indicating copy to clipboard operation
pg_cron copied to clipboard

Enable pg_cron in distributed PostgreSQL system

Open cwang9208 opened this issue 1 year ago • 1 comments

Hi, we are trying to deploy the pg_cron extension in Postgresql-xl, which is a distributed version of Postgresql. The question is how can we ensure there is only one scheduler running? Are there any suggestions?

cwang9208 avatar Feb 29 '24 07:02 cwang9208

As long as the cron.jobs table is local to a specific node, then jobs would only run on that node. That's the case in Citus at least.

marcoslot avatar Mar 20 '24 08:03 marcoslot