Great. So here's the crux of the issue:
On most Linux systems, the nginx
binary would be located on the $PATH
when Certbot runs. What's this show?
command -v nginx
Can you show us how you setup the the cronjob? This may affect how the $PATH
is populated when the cron task actually runs.