Closed dpoirier closed 7 years ago
Or maybe it would be better to set the PATH in the root crontab somewhere more universal than just for this one cron job?
Hmmm.... I'd be interested in seeing the error, if you still have it, for future reference.
If we're going to set the PATH, either on the command line or more universally, we could change the certbot-auto
command to not use the full path, since that would be redundant.
:+1: in any case
I wasn't able to reproduce the error, sorry. It might only happen when a cert actually needs renewing or something like that.
Certificate renewals seemed to be failing on a site due to this. Error output from the failed renewal indicated difficulty finding virtualenv, which was at /usr/local/bin/. The path was just /usr/bin:/bin.