Re: Cron not running

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Cron not running
Date: 2024-03-28 21:54:58
Message-ID: CANzqJaDjOrhNJXeEmMWCoTbyQOo-WxvcxHxpZf+Xi=Doa7N3zg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 28, 2024 at 5:28 PM Lok P <loknath(dot)73(at)gmail(dot)com> wrote:

> Hello All,
> In RDS postgres(version 15.4), we have scheduled partition maintenance
> through pg_partman and it's scheduled through pg_cron as below. The same
> script has been executed in dev and test environments, and we are seeing
> the cron job is scheduled in both environments because we see one record in
> table cron.job.
>
> But we are not seeing any entries in cron.job_run_details for the test
> database and also partitions are not getting created/dropped as we have
> expected on the test database. So it means it's not running in one of the
> databases. Wondering why it is so, if we are missing anything? How to debug
> this issue ,find the cause if it's failing internally for some reason and
> fix it ?
>

Permissions is the first possibility. Have you checked the RDS logs?

>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2024-03-28 22:01:52 Re: pg_rewind after promote
Previous Message sud 2024-03-28 21:43:19 Re: Grants and privileges issue