I am trying to run a function periodically with pg_cron but every time it wants to execute it throws connection refused.
pg_hba.conf
local all