Skip to content

Commit

Permalink
Merge pull request #15 from Flora-Network/powershell-script
Browse files Browse the repository at this point in the history
changed sleep unit from minutes to hours
  • Loading branch information
floracoinvirus authored Aug 29, 2021
2 parents 7995ae0 + 28835c6 commit ffa132f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flora_recovery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ Do {
Run-Recovery
}
IF ($sleep-gt 0){
[int]$SleepMinutes = $sleep * 60
[int]$SleepHours = $sleep * 3600
Write-log "Running in a loop. Going to sleep for $sleep minutes"
Start-Sleep -s $SleepMinutes
Start-Sleep -s $SleepHours
}


} while ($sleep -gt 0)

0 comments on commit ffa132f

Please sign in to comment.