mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
Script stops when run by cron #354
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oddtwelve on GitHub (Jun 1, 2018).
The script works fine when I manually execute it, however, if I put it in crontab, here's what I get in the output:
Processing example.com
(Longer than 30 days). Ignoring because renew was forced!
... and nothing else.
No logs in syslog.
I'm sure it's something in my environment, but please, help to diagnose.
It runs fine in crontab on some other servers.
@lukas2511 commented on GitHub (Jun 2, 2018):
I'm assuming you already updated to the newest version from git and tried with that?
Could you provide the output of
dehydrated -vand when running dehydrated usingbash -x /path/to/dehydrated [...](ideally run somehow from inside a cronjob)@oddtwelve commented on GitHub (Jul 19, 2018):
Ok, I got it working. I had no any MTA installed, so I could not see anything in syslog. The problem was with path to openssl and openssl.cnf