mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Update windows-installer/tasks-up.ps1
Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
parent
7fccf83ce1
commit
495d7dd6b6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ $down = Join-Path (Get-ScriptDirectory) 'tasks-down.ps1'
|
|||
& $down
|
||||
|
||||
$taskName = "Certbot Renew and Auto-Update Task"
|
||||
$taskDescription = "Execute twice a day the 'certbot renew' command, to renew managed certificates if needed, and upgrade Certbot is a new version is available."
|
||||
$taskDescription = "Execute twice a day the 'certbot renew' command, to renew managed certificates if needed, and upgrade Certbot if a new version is available."
|
||||
|
||||
$actionRenew = New-ScheduledTaskAction -Execute 'Powershell.exe' -Argument "-NoProfile -WindowStyle Hidden -Command ""& '$InstallDir\bin\certbot.exe' renew"""
|
||||
$actionUpgrade = New-ScheduledTaskAction -Execute 'Powershell.exe' -Argument "-NoProfile -WindowStyle Hidden -File ""$InstallDir\auto-update.ps1"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue