Add offsite backup sync and scheduler
This commit is contained in:
parent
6dcd37fe31
commit
69958db930
8 changed files with 630 additions and 4 deletions
|
|
@ -85,7 +85,7 @@ function Invoke-CurlJson {
|
|||
[string[]] $Arguments
|
||||
)
|
||||
|
||||
$response = & curl.exe @Arguments
|
||||
$response = & curl.exe --connect-timeout 5 --max-time 30 @Arguments
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "curl.exe failed: $($Arguments -join ' ')"
|
||||
|
|
|
|||
Loading…
Reference in a new issue