Now, I have tried to install on Amazon Linux this time using source code and on postgres version 14.6.
Steps:
git clone https://github.com/citusdata/pg_cron.git cd pg_cron # Ensure pg_config is in your path, e.g. export PATH=/opt/PostgreSQL-14/bin/:$PATH make && sudo PATH=$PATH make install
I need your help in installing the ‘pg_cron’ extension in PostgreSQL running on a windows machine. My requirement is to schedule the execution of PostgreSQL Function at regular intervals from the Postgres database itself.