Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kamuI-0003wW-Qp for pgsql-general@arkaria.postgresql.org; Thu, 05 Nov 2020 21:34:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kamuH-00047X-L3 for pgsql-general@arkaria.postgresql.org; Thu, 05 Nov 2020 21:34:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kamuG-00047P-Jf for pgsql-general@lists.postgresql.org; Thu, 05 Nov 2020 21:34:57 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kamu8-0001p6-CJ for pgsql-general@postgresql.org; Thu, 05 Nov 2020 21:34:55 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 51E61FC1; Thu, 5 Nov 2020 16:34:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 05 Nov 2020 16:34:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=S 1z9ALoOLWvbNORBhpvixXCTykFGNlgfFgKeJFsorpA=; b=gt9yneZv9+56NvJJj ucwJmyQD0QR7sHZ/Ym/AeOTpIHGoxl8BllyoPCtTJuCq+9xBIfD6Csf+cPZv409l J6PpzOekuRqOhpsmTqshuA0np7y1m/ztaDnrJXmtVVnBsFg/4I8TL3lg6eDdzWoA kYRnTPGGIux/XUhLMZmWdtbwitq4tQAGZashp1z/vu6ba+H1wung3hoJPlxm1njP rKEqPNRPaOob0zv1t/TRYPLeaABTPewFMi56SOilDSuPCkD6yo1rjaVhemDkqv6R 3zYWab3tfdp5bM+VABaTyyUnrY/+OXGCZP/ebeP4Xc8HNHvq1lHsf4dz2mActabt wB3Ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=S1z9ALoOLWvbNORBhpvixXCTykFGNlgfFgKeJFsor pA=; b=Iu+4okf4/B4kYFfmFcYzb/68QrI9wtqtkuVyJ/kCnNMPg+kxeh8rCzL/L Lm/2KofjuNKuwQbUkn2kSD+qGO9z7bblcEOPeCbOhibWoEomMQUo9465hmUuJokh hZo44BlwQ6ftfK8DP1/urt39OinOOy759X7hW9wLopLqYhBnXF2+eTENAlNDhK0V fVUKC13UGjcMoz8KbPr/KNvOYcWPJKMcsZRuiZwf9DBhRDPX40C1TaFGsUVbSPbp 2o+3G8sGpJrf256ZioTkq8MvQoLXaS0WF46jXo9Drp5v8fUYFimQMxibdBXn3sG8 xWwrJf9r5IydlbX4Ha7o/VLjFd3xA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtjedgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepjedtffettdeijeefgedtkeejvdehgfefgeetleeu ieeifeegheelvedtveeiudeknecuffhomhgrihhnpegtihhtuhhsuggrthgrrdgtohhmne cukfhppeejhedrudejvddrudelrddufeelnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrh drtghomh X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 611BA3060057; Thu, 5 Nov 2020 16:34:44 -0500 (EST) Subject: Re: pgagent To: Gabi Draghici , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: Date: Thu, 5 Nov 2020 13:34:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/5/20 1:07 PM, Gabi Draghici wrote: > > Hi, > > I have installed postgresql 12 on sles 15 for some tests. Now I'm > interested in some sort of scheduler and from what I've read so far, > pgagent should do the job. So I've installed pgagent 4.0. I've added a > job (which I can see in pgagent.pga_job) but everytime I ran it (from > pgadmin) nothing happens ! When I start the pgagent I can see "... > pgagent ... connection authorized" in the main log. What else should I > check ? pg_cron: https://www.citusdata.com/blog/2020/10/31/evolving-pg-cron-together/ For pgagent what is the job doing and when? Could it be it hasn't run because it has not reached it's scheduled time. > > Thanks, > Gabi > > -- Adrian Klaver adrian.klaver@aklaver.com