On 2024-02-20, Odhiambo Washington <odhia...@gmail.com> wrote:
> This should work:
>
> 0 0,12 * * * /bin/sleep 1552 &&  rcctl stop httpd  && certbot renew &&
> rcctl start httpd

You might like to investigate ~ in crontab(5), e.g. "~ 0,12" and lose
the "sleep".

Wouldn't it be better to have certbot write files into a directory
served by httpd so you don't need the "rcctl stop" though?

Reply via email to