We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae76351 + 6492331 commit 3e2eea5Copy full SHA for 3e2eea5
Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Push-ExecScheduledCommand.ps1
@@ -276,7 +276,7 @@ function Push-ExecScheduledCommand {
276
Write-Information 'Sent the results to the target. Updating the task state.'
277
278
try {
279
- if ($task.Recurrence -eq '0' -or [string]::IsNullOrEmpty($task.Recurrence) -or $Trigger.ExecutionMode.value -eq 'once' -or $) {
+ if ($task.Recurrence -eq '0' -or [string]::IsNullOrEmpty($task.Recurrence) -or $Trigger.ExecutionMode.value -eq 'once') {
280
Write-Information 'Recurrence empty or 0. Task is not recurring. Setting task state to completed.'
281
Update-AzDataTableEntity -Force @Table -Entity @{
282
PartitionKey = $task.PartitionKey
0 commit comments