As I said earlier, it is usually because the cron sees a bit different environment. You may need to export extended PATH in that script you have created. See this thread as a reference on fixing similar issue:
leader
8
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Renew works from command line but not from system crontab | 3 | 4184 | September 2, 2016 | |
| Fails when running cronjob | 5 | 3145 | May 2, 2016 | |
| Letsencrypt not working with cron, manually it ok | 18 | 6340 | October 19, 2018 | |
| Crontab renew fails | 4 | 5140 | November 3, 2016 | |
| Letsencrypt renew script fails as crontab, but runs over ssh | 4 | 3835 | July 29, 2016 |