Date: Sun, 21 Apr 2024 02:40:44 +0100 From: "Souji Thenria" <mail@souji-thenria.net> To: "paul beard" <paulbeard@gmail.com> Cc: "FreeBSD Questions List" <questions@freebsd.org> Subject: Re: certbot Message-ID: <D0PF2ADN70DA.3O2QOFOV0FPLF@souji-thenria.net> In-Reply-To: <CAMtcK2qfRBrOAuWBm1gLEPRc8pDTQx0jOgKJ06d_B6HqrCA7JQ@mail.gmail.com> References: <20240420091633.00002f24@seibercom.net> <20240420153432.671268909CE2@ary.qy> <CAMtcK2pTKSHpOCKhEdWSvLyT1fBvjm50zZ8LhF-jbDjmFzBJGA@mail.gmail.com> <D0PEG8P8AFKW.1GAOHS51ANI12@souji-thenria.net> <CAMtcK2qfRBrOAuWBm1gLEPRc8pDTQx0jOgKJ06d_B6HqrCA7JQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Sun Apr 21, 2024 at 2:24 AM BST, paul beard wrote: > I think I saw that in the docs…I could never have come up with that 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 PM Souji Thenria <mail@souji-thenria.net> > 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, Soujihelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0PF2ADN70DA.3O2QOFOV0FPLF>
