From nobody Sun Apr 21 01:11:57 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 4VMVj24pP1z5H51G for ; Sun, 21 Apr 2024 01:12:06 +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 4VMVj16vt2z4s6G for ; Sun, 21 Apr 2024 01:12:05 +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=1713661917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=amrI1bu+SkyJj0Ci5T8FAgA9cdvd/funnJwcrU+IB/c=; b=Q3B63nt3QPhiaIPuZtNZWemZLrD0Mhh7UdrQ5JbAihK54p/GyXJBUWOC6tyb/rVqqBYc05 ASK98JOUFokyq0fKfhzYqwiexhZhpebMiO8xc2lPfD6VlXrR6dz6bT7sdbHpdGeTR/W5wA ByRoyidXO8jbvxubHMpoZnK8uwTxgsgXFjWo/WXUoCZ6GRhM2yYytxZbFKbqTDjPVPwEfF 4DkIJPJ7vnDVmkZwgWTOjS5emA/+E/GqORl+RFaXLRuJqYzhGjiBQHqL8oAaVT8M0+2mGH NP7n1GFXFVCtazeic1dsq+C2nmLoCKHTElwCWCJ25QsWclUBpJaG3syLaifAHndkeaLox5 AKbKTm1oN1trDq3TiwpT1ICcARkD67xTGi6YAzPDFAmauAChwY+P3AfDGfRxO4GDzuvkZU 6fA7JCl8Xx3VVUdUEyadHz+Qov5/GYPuvy1Le0EWt5RBwwKb3VyRw7LjiZLHLaoCAjxxLr WGDVLAuF1A+zzP9G2jgSw3zz2Fy69YrR57+a3c57dXog/qZC8dpGoMTPHCxGsFA2k/WxNV qXsY1uWwNVbFr3cBeHV5HX4GXePb4BsGfCIxsFDyLb5ybRU6siQQtFkEevDWH7R+IwRfCH JQ0V6fqvrD+orjFOKE1lpHhcq3cVAkKQDx9CwQ0BJx82In1pAbYHs= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id 880cab17 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 21 Apr 2024 03:11:57 +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:11:57 +0100 Message-Id: Subject: Re: certbot From: "Souji Thenria" To: "paul beard" , "FreeBSD Questions List" 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: 4VMVj16vt2z4s6G 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