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.
1 parent 642ae24 commit 0b46261Copy full SHA for 0b46261
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') {
+ if ($task.Recurrence -eq '0' -or [string]::IsNullOrEmpty($task.Recurrence) -or $Trigger.ExecutionMode.value -eq 'once' -or $) {
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