Crontab
Since Postgresql does not have an embedded scheduler, this need is solved with pg_cron and pgagent extensions or with crontab at the operating system level. SQL to be executed, function procedure etc. The codes can be written in Linux bashscript and scheduled with crontab, the embedded scheduler of the Linux operatingsystem. Example Script vim /var/lib/postgresql/scripts/instest.sh … Crontab