From nobody Sun Apr 21 01:40:44 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VMWL73l4Zz5H7cV for ; Sun, 21 Apr 2024 01:40:47 +0000 (UTC) (envelope-from mail@souji-thenria.net) Received: from alisa.souji-thenria.net (alisa.souji-thenria.net [188.68.37.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMWL70MmWz40Xm for ; Sun, 21 Apr 2024 01:40:46 +0000 (UTC) (envelope-from mail@souji-thenria.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=souji-thenria.net; s=20231116; t=1713663645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X+Z9iTXx2nMEAEEM7zTnriiPaeoMwGC5GhUqCNhrhIk=; b=SL7u9IiMYEZ1BwQ3/FFawQJQdQar9Uv3Zak3N/I753D7ZLjeF8rZxpa8CR/meLnod1RAlA 0PUXq0xzFJQ51LSY2xPUSSA5URveF799OW2+WQeVVjPuA3rIs8xt22FQ7AS36El0EjBJR0 T7cJoqEy7LHv4FX5A8d/NB7pSaSYeMw5qrP8eC9oP++vER6/f/5sFZi8bfgqiNj8KXBL9U rLEKq5ihHK0lExcLTFKC3N5H+cOSzW9UayF/Q6uVndmcRugta/311LbOYryIlQ6vuNHIwv cjOYjhIdVEOB0Qmw4kEYrAqzBsKID7l0QYy8CgPLh3O5ZMFqCOhodxotktILJVr26PaNIr FqV9cGICJCgxPUm23tzgPKMxTSfNaJN1ApTHjvd1SPvsVMco+UseuZadwVtFLvF00rlGpH aMLJEJJ3/ZaBw6oDLclfkrWIr6U8/fQFJtH92eXq4juKSGFOr9RXGStBOxJP80aFVZPRPw YKBrg6XXS8NjLa4KTQ33LOqMJ8JmfKNbDBM1IS9x3KjgPWz4NJqwQbVZlOiSrujOgrJxkq VDVst8O6TNngKUN5FdhR/2g8abnOyCfVI35/VV/xWhLy/9QhRi0UxvYXKsBZ1iQAxl/2rv fb/1w0HkLxSMRJxY+QLwmIv0Nn1ogIS5d9RlLv9kkptTqKO1UgqmQ= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id a91e659d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 21 Apr 2024 03:40:45 +0200 (CEST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed Date: Sun, 21 Apr 2024 02:40:44 +0100 Message-Id: To: "paul beard" Cc: "FreeBSD Questions List" Subject: Re: certbot From: "Souji Thenria" X-Mailer: aerc 0.17.0 References: <20240420091633.00002f24@seibercom.net> <20240420153432.671268909CE2@ary.qy> In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE] X-Rspamd-Queue-Id: 4VMWL70MmWz40Xm On Sun Apr 21, 2024 at 2:24 AM BST, paul beard wrote: > I think I saw that in the docs=E2=80=A6I could never have come up with th= at on my > own. I think it's to reduce any spikes (like midnight as it crosses time > zones). > > On Sat, Apr 20, 2024 at 6:11=E2=80=AFPM Souji Thenria > wrote: > > > On Sat Apr 20, 2024 at 10:29 PM BST, paul beard wrote: > > > 00 00 * * Sun python -c 'import random; import time; > > > time.sleep(random.random() * 3600)' && /usr/local/bin/certbot renew > > > --renew-hook 'service nginx reload' > > > > Hi Paul, > > > > Out of pure curiosity: > > Is there a reason why you sleep for a random number of hours (supposed > > time.sleep() takes seconds as input parameter) before executing the > > certbot? > > > > Regards, > > Souji > > > > Oh true, that makes sense. Thanks, Souji