Skip to content

Commit

Permalink
Update Get-CIPPTimerFunctions.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Oct 3, 2024
1 parent b7bc28a commit 5c47a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CIPPCore/Public/Get-CIPPTimerFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function Get-CIPPTimerFunctions {
}
Add-CIPPAzDataTableEntity @Table -Entity $Status
} else {
if ($Orchestrator.IsSystem -or $ResetToDefault.IsPresent) {
if ($Orchestrator.IsSystem -eq $true -or $ResetToDefault.IsPresent) {
$Status.Cron = $CronString
}
$Status.NextOccurrence = $NextOccurrence.ToUniversalTime()
Expand Down

0 comments on commit 5c47a0f

Please sign in to comment.