dambrosioj
Dabbler
- Joined
- Apr 1, 2015
- Messages
- 23
I hope someone can help me, I am pretty new to setting up cron jobs. I setup nginx/cerbot/letsencrypt in a jail and its working great. The problem is I am trying to run a cronjob to get the cert to autorenew every 90days (or check every 30 days). I can run it fine inside jail but when trying to do it as a crontab -e it doesnt work. I also tried doing it from the gui.
I wanted to use this command:
Could anyone point me in the right direction
I wanted to use this command:
Code:
*/30 * * * * service nginx stop && /certbot/certbot-auto renew && service nginx start >> /var/log/le-renew.log
Could anyone point me in the right direction