Skip to content

Commit 3e2eea5

Browse files
authored
Merge pull request #534 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents ae76351 + 6492331 commit 3e2eea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Push-ExecScheduledCommand.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function Push-ExecScheduledCommand {
276276
Write-Information 'Sent the results to the target. Updating the task state.'
277277

278278
try {
279-
if ($task.Recurrence -eq '0' -or [string]::IsNullOrEmpty($task.Recurrence) -or $Trigger.ExecutionMode.value -eq 'once' -or $) {
279+
if ($task.Recurrence -eq '0' -or [string]::IsNullOrEmpty($task.Recurrence) -or $Trigger.ExecutionMode.value -eq 'once') {
280280
Write-Information 'Recurrence empty or 0. Task is not recurring. Setting task state to completed.'
281281
Update-AzDataTableEntity -Force @Table -Entity @{
282282
PartitionKey = $task.PartitionKey

0 commit comments

Comments
 (0)