Letsencrypt renew not working with cronjob, manually it works

thanks again, the other thread showed the solution

my .bash script now looks like this:

#!/bin/sh

PATH=output of echo $PATH
/root/.local/share/letsencrypt/bin/letsencrypt renew

and now it works