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 f6639f5 commit a76d865Copy full SHA for a76d865
Modules/CippExtensions/Public/Extension Functions/Register-CippExtensionScheduledTasks.ps1
@@ -68,7 +68,7 @@ function Register-CIPPExtensionScheduledTasks {
68
}
69
70
$ExistingPushTask = $PushTasks | Where-Object { $_.Tenant -eq $Tenant.defaultDomainName -and $_.SyncType -eq $Extension }
71
- if (!$ExistingPushTask -or $Reschedule.IsPresent) {
+ if ((!$ExistingPushTask -or $Reschedule.IsPresent) -and $Extension -ne 'NinjaOne') {
72
# push cached data to extension
73
$in30mins = [int64](([datetime]::UtcNow.AddMinutes(30)) - (Get-Date '1/1/1970')).TotalSeconds
74
$Task = [pscustomobject]@{
0 commit comments