From: Levente Birta <blevi.linux@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: pg_cron question
Date: Wed, 2 Dec 2020 10:36:28 +0200
Message-ID: <9409d240-a975-bdd2-c3e4-983b4bf7f50e@gmail.com> (raw)
Hi all
Is there a way to run pg_cron job only once?
Or can I get somehow inside the cronjob the ID of a running job to
unschedule?
Thanks
Levi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: blevi.linux@gmail.com
Subject: Re: pg_cron question
In-Reply-To: <9409d240-a975-bdd2-c3e4-983b4bf7f50e@gmail.com>
References: <9409d240-a975-bdd2-c3e4-983b4bf7f50e@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox