From 80497c60b9f1d47f8aee3e8cfbebb47707242603 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sat, 6 Jun 2026 12:59:44 +0200 Subject: [PATCH] Update comment --- webmin/letsencrypt.cgi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/webmin/letsencrypt.cgi b/webmin/letsencrypt.cgi index 75bfcad75..fb7481dbb 100755 --- a/webmin/letsencrypt.cgi +++ b/webmin/letsencrypt.cgi @@ -219,11 +219,10 @@ if (&foreign_check("webmincron")) { &webmincron::delete_webmin_cron($job) if ($job); } else { - # When a cert was just issued, delete and re-create the job so - # it gets a fresh ID and its elapsed-interval countdown restarts - # from now. Re-using the ID could keep a stale last-run time - # that is already past the interval, firing a renewal - # immediately and wasting a Let's Encrypt issuance + # A manual cert request does not update Webmin cron's last-run + # state, so re-create the job to start the elapsed renewal + # interval from now instead of immediately running an overdue + # job with the old ID if ($job && $reset_renewal_time) { &webmincron::delete_webmin_cron($job); $job = undef;