Re: certbot

From: Souji Thenria <mail_at_souji-thenria.net>
Date: Sun, 21 Apr 2024 01:11:57 UTC
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