Customer reported that after upgrading, many of his scheduled tasks under Task Scheduler were missing (like NS.Daily, NS.Business Hours), which basically were causing that other internal schedules were not running on the specified time.
When you look at the database for those missing scheduled tasks, those are actually present. If you run the following query just to see if NS.Weekly is present and what is assigned to it to run, you can see that we have the right references:
[Schedule] = it1.[name]
,[Policy Item]= it0.[name]
,[Enabled] = isnull(cast(ia.[Enabled] as nvarchar), '')
,[Hidden] = case
when (it0.[Attributes]%2) = 0 then 'No'
from ItemSchedule sched
join item it0 on it0.[guid] = sched.[ItemGuid]
join item it1 on it1.[guid] = sched.[ScheduleGuid]
left join ItemActive ia on ia.[Guid] = sched.[ItemGuid]
where sched.[ScheduleGuid] = 'ab7141ed-e03a-48e5-9051-a71b5912b7f2' --Add here the GUID for the Scheduled Task. In this case it is for the Weekly Schedule
and it1.[name] like 'weekly%' --Add here the partial name for the scheduled task that you are looking for
order by 1, 2
The issue was that the missing scheduled tasks were not enables under the shared schedules page. In this particular case "Bussiness Hours" and "Daily" were not checked under Shared Schedules (causing that the proper entry in Task Scheduler was not present).
As you can see in the screenshot above, NS.Business Hours and NS.Daily are missing because the respective Shred Schedules are not active.
Customer's issue is that ALL scheduled Items (including hidden scheduled items) where marked as disabled.
By design, reconfigurations will not change the enabled status of these schedules once they are set.
For some of the disabled schedules, they could be enabled again in the UI; however some could not be enabled through the UI like "Delta Resource Membership Update" because their is no UI to enable or disable it, only to change its schedule and changing the schedule didn't enable it either.
In some instances you will need to find those scheduled tasks in the database and enable the flag in the State of the Items, restart all services (to ensure a clean item cache).
In order to fix this:
1. Go to Settings>Notification Server>Shared Schedules 2. Make sure you have those schedules enabled. 3. Reopen Task Scheduler.
If after the steps mentioned above there are still missing scheduled tasks, please refer to TECH213879 "Scheduled tasks disappear from Scheduled Task Library after upgrading to SMP 7.5"
SMP 7.1 SP2 MP1 or later SMP 7.5 or later
Imported Document ID: TECH225678
Subscribing will provide email updates when this Article is updated. Login is required.