Date: Sun, 21 Apr 2024 02:11:57 +0100 From: "Souji Thenria" <mail@souji-thenria.net> To: "paul beard" <paulbeard@gmail.com>, "FreeBSD Questions List" <questions@freebsd.org> Subject: Re: certbot Message-ID: <D0PEG8P8AFKW.1GAOHS51ANI12@souji-thenria.net> In-Reply-To: <CAMtcK2pTKSHpOCKhEdWSvLyT1fBvjm50zZ8LhF-jbDjmFzBJGA@mail.gmail.com> References: <20240420091633.00002f24@seibercom.net> <20240420153432.671268909CE2@ary.qy> <CAMtcK2pTKSHpOCKhEdWSvLyT1fBvjm50zZ8LhF-jbDjmFzBJGA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0PEG8P8AFKW.1GAOHS51ANI12>