From 573b1d48355498050ea7dbb064d9c806db426293 Mon Sep 17 00:00:00 2001 From: miguelgfierro Date: Tue, 7 Aug 2018 08:47:49 +0100 Subject: [PATCH] update readme and cron time to 5 days --- README.md | 2 +- cron_ssl_renew | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37d8a28..65429a9 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ I created a [python script](cron_ssl_renew.py) that allows one to automatize the $ crontab cron_ssl_renew -This files executes every 3 days at 7.07am. You can see that the CRON task is correctly set up typing `crontab -l`. Also, to make sure that the CRON job has run, you can type `grep "certbot-auto" /var/log/syslog`. +This files executes every 5 days at 7.07am. You can see that the CRON task is correctly set up typing `crontab -l`. Also, to make sure that the CRON job has run, you can type `grep "certbot-auto" /var/log/syslog`. diff --git a/cron_ssl_renew b/cron_ssl_renew index 8987789..a171d9d 100644 --- a/cron_ssl_renew +++ b/cron_ssl_renew @@ -1 +1 @@ -7 7 */3 * * (/bin/date && /usr/bin/python /var/www/sciblog/cron_ssl_renew.py) >> cron.log 2>&1 +7 7 */5 * * (/bin/date && /usr/bin/python /var/www/sciblog/cron_ssl_renew.py) >> cron.log 2>&1