Maybe https://github.com/chanks/que is what you need.
On 09/05/2018 02:35 PM, Thiemo Kellner wrote:
> I have seen pg_cron but it is not what I am looking for. It schedules
> tasks only by time. I am looking for a fifo queue. pg_cron neither
> prevents from simultaneous runs I believe.
>
> Quoting Thomas Kellerer <spam_eater@gmx.net>:
>
>> There is no built-in scheduler, but there is an extension that supplies that
>>
>> https://github.com/citusdata/pg_cron
>
>
>
>
--
Angular momentum makes the world go 'round.