Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxevH-0000wS-Mj for pgsql-general@arkaria.postgresql.org; Wed, 05 Sep 2018 21:01:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxevF-0004L1-Ls for pgsql-general@arkaria.postgresql.org; Wed, 05 Sep 2018 21:01:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxevF-0004Ku-7j for pgsql-general@lists.postgresql.org; Wed, 05 Sep 2018 21:01:09 +0000 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fxevC-0005Ek-76 for pgsql-general@lists.postgresql.org; Wed, 05 Sep 2018 21:01:07 +0000 Received: by mail-oi0-x22a.google.com with SMTP id 13-v6so16481672ois.1 for ; Wed, 05 Sep 2018 14:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=+J5k13otiBhkNc4ZeMu/MtFYKe5AK8eTfjQNQfzHT0c=; b=Xyv+UQaVA0EZ6N/mHwy23lytYyQDyu7LzYwrtkJzfDDHmpUN5GXB/+xPeUEOq5EmJl z99MPwl6iayl/RGuhF2JnNxArusq9or5JGqFeZhgfXeUe3MNbg5rHmsiBhpKo8TvEpvO OHx1DEYZ9rMG6mm5jgl5W3htKOhXFEiJf2iOUCAH7nJXboW97p4jxLu0IKpueVKmqc3C 9F5qbZgULDMqX49mjr6Bs+clWmBBavVid+0enGTdHXqm3L0v8o6OSjcDFWTodH/+zWiW QUS3zM3GpSV22mrkcJEFLonusob7o9SWX3citQNt8uUcPPp7i8+hBlg+aKeaK/FcVEK9 XLWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=+J5k13otiBhkNc4ZeMu/MtFYKe5AK8eTfjQNQfzHT0c=; b=ZehnM0U8HlapWFVK1e2C4pe9xpGEoAnipE5hLDRXBNeOvn8msg/1blJ8KZzQ4mAkUe CkSKO4th0x/PCjedAaseMVNw7N9aJ5NJu15J6681CoDnXlkCadkHwQWeWvegTJwV2ITI YvbfjjODfhTF2pwBbtTQNzx59pryA/W02tlftDYXpzF885oOPHkU4loQjGg2FaN9K75/ KBT35KhGjNJ90vuKYrhS33U/QSd8kQU5HexmDCWVbQMdWZBEed2dZyhP/ySVKEQzCMJS 85vfJ1Pgdr83ncVDiBuWWwVxdTVI2etKb+ISnpaxt/Oih+nAz4gu2oj8MkL9U6m9MSSu 0uMw== X-Gm-Message-State: APzg51AhxjzcL1P4EhUQVikYkt3CxiEHogeckj36D8cFFJjwFqcRFWVl V7ceEIM23hNJ/O+CtK96Wyht6aDk X-Google-Smtp-Source: ANB0VdZxESQ4TLdjxFdSeGcGVY90/Ybj8VXC8iJzvQ/tUUS2I7DKqjeFeKra+UykP8UygxihPo1ZKg== X-Received: by 2002:aca:acc8:: with SMTP id v191-v6mr29683318oie.354.1536181265316; Wed, 05 Sep 2018 14:01:05 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id p132-v6sm6342275oia.31.2018.09.05.14.01.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 14:01:04 -0700 (PDT) Subject: Re: PostgreSQL intenal scheduler? To: pgsql-general@lists.postgresql.org References: <20180905150607.Horde.or4xIMZA8_s0hktE6pzQyHu@webmail.gelassene-pferde.biz> <20180905193549.Horde.SpxbBVNldH62eMh4wssdCvK@webmail.gelassene-pferde.biz> From: Ron Message-ID: <11773f6e-f43c-3697-8941-e85fdf7d251b@gmail.com> Date: Wed, 5 Sep 2018 16:01:03 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180905193549.Horde.SpxbBVNldH62eMh4wssdCvK@webmail.gelassene-pferde.biz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 : > >> 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.