Le 12/06/2018 à 21:43, Daniel Dekany a écrit :
Tuesday, June 12, 2018, 7:48:13 PM, Jacques Le Roux wrote:

[snip]
OK thanks, indeed
sudo curl -X POST http://localhost:8081/tasks/reload-ssl
works :)

All is ready and working manually. I will just check the
/var/log/fmonlinetester/letsencrypt.log tomorrow morning. I use the cron line:
0 0 * * * /opt/fmonlinetester/var/cert-renew.sh >
/var/log/fmonlinetester/letsencrypt.log
Great, thanks!

A small thing though. Scripts should be in bin, not var. And if you
are there anyway, AFAIR I have made /opt/fmonlinetester/var/log (which
links to /var/log/fmonlinetester), in which case it's better to use
that path.

OK, I have done the changes you suggested. The cron job works as expected and 
puts results in log.
I also set MAILTO to [email protected] not sure it's a good idea. 
Could be in case of issue.

Jacques

Reply via email to