Skip to content
Snippets Groups Projects
Commit ea16a410 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Update README.

parent 21cba71f
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ done by using the following PowerShell commands: ...@@ -49,7 +49,7 @@ done by using the following PowerShell commands:
```powershell ```powershell
# create a repetition interval # create a repetition interval
$TimeSpan = New-TimeSpan -Minutes 1 $TimeSpan = New-TimeSpan -Minutes 10
# configure a JobTrigger for the task using the repetition interval from above, # configure a JobTrigger for the task using the repetition interval from above,
...@@ -73,11 +73,11 @@ $JobOptions = New-ScheduledJobOption ` ...@@ -73,11 +73,11 @@ $JobOptions = New-ScheduledJobOption `
# service and overwriting the configuration and binaries) # service and overwriting the configuration and binaries)
$Cred = Get-Credential $Cred = Get-Credential
# register the job for execution # register the job for execution
Register-ScheduledJob ` Register-ScheduledJob `
-FilePath C:\Tools\AutoTx\Update-Service.ps1 `
-Name "Update-AutoTxService" ` -Name "Update-AutoTxService" `
-FilePath C:\Tools\AutoTx-Updater\Update-Service.ps1 `
-ArgumentList C:\Tools\AutoTx-Updater\UpdaterConfig.inc.ps1 `
-ScheduledJobOption $JobOptions ` -ScheduledJobOption $JobOptions `
-Trigger $JobTrigger ` -Trigger $JobTrigger `
-Credential $Cred ` -Credential $Cred `
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment