Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 16:40:39 +0200
From:      rainer@ultra-secure.de
To:        Jason de Cordoba <jason@aventia.pw>
Cc:        python@freebsd.org
Subject:   Re: FreeBSD Port: security/py-certbot
Message-ID:  <09cfe957e63f72768f2379b159afb5b9@ultra-secure.de>
In-Reply-To: <96abaf81-363a-6a9b-8ae1-680110ac8d31@aventia.pw>
References:  <96abaf81-363a-6a9b-8ae1-680110ac8d31@aventia.pw>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 2019-04-30 16:04, schrieb Jason de Cordoba:
> Hi there,
> 
> I have been running the following command in roots cron for a very long 
> time
> 0 0,12 * * * python2.7 -c 'import random; import time;
> time.sleep(random.random() * 3600)' && certbot -q renew --renew-hook
> "service nginx restart"
> 
> now my crontab sends root back an email that
> "/bin/sh: certbot: not found"
> 
> Did you guys rename the executable?
> why?
> 
> Did you update the docs on the certbot website as well?
> Why did letsencrypt not notify users of their solution of this change?
> Why is this not added to UPDATING?
> 
> https://github.com/certbot/certbot/issues/7006
> 
> 
> Thank you for your support for FreeBSD!
> Jason


Usually, this happens when $PATH does not contain the necessary paths.

I don't know if this is because I run zsh, but I think with 11.2, a lot 
of paths were removed when running cron.
Even very basic ones in the base-system.

Had to add them back in crontab.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09cfe957e63f72768f2379b159afb5b9>