missing recreate the file for the next week

This commit is contained in:
Valder Gallo 2018-06-28 08:28:40 -03:00
parent d9ba362833
commit b120666a60
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ while [ true ]; do
echo "Not run_certbot.sh"
if [ $is_finshed_week_sec -lt 0 ]; then
# recreate the file
touch "$last_sync_file"
# re-run certbot
echo "Run certbot"
/scripts/run_certbot.sh