File tree Expand file tree Collapse file tree
Modules/CIPPCore/Public/Entrypoints/Activity Triggers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ function Push-ExecScheduledCommand {
44 Entrypoint
55 #>
66 param ($Item )
7+ $item = $Item | ConvertTo-Json - Depth 100 | ConvertFrom-Json
78 Write-Host " We are going to be running a scheduled task: $ ( $Item.TaskInfo | ConvertTo-Json - Depth 10 ) "
89
910 $Table = Get-CippTable - tablename ' ScheduledTasks'
@@ -100,7 +101,7 @@ function Push-ExecScheduledCommand {
100101 default { throw " Unsupported recurrence format: $ ( $task.Recurrence ) " }
101102 }
102103 $nextRunUnixTime = [int64 ]$task.ScheduledTime + [int64 ]$secondsToAdd
103- Write-Host " The job is recurring and should occur again at: $nextRunUnixTime "
104+ Write-Host " The job is recurring. It was scheduled for $ ( $task .ScheduledTime ) . The next runtime should be $nextRunUnixTime "
104105 Update-AzDataTableEntity @Table - Entity @ {
105106 PartitionKey = $task.PartitionKey
106107 RowKey = $task.RowKey
You can’t perform that action at this time.
0 commit comments