What is the default schedule for the default CRM 2011 maintenance jobs?

房东的猫 提交于 2019-12-06 11:38:22

Dynamics CRM 2011 Asynchronous Service regularly executes multiple internal maintenance jobs for each organization (database) and that these are scheduled initially at the time of organization creation on default frequencies (daily, monthly, etc.). Hopefully, you're also aware of the need to reschedule these jobs to execute during non-peak usage hours so as to minimize impact on system performance

You can find more details in this MSDN blog

The interesting comment there from Austin give you some insight.

MSCRM_CONFIG.[dbo].ScalegroupOrganizationMaintenanceJobs table keeps track of LastResultCode and LastRunTime

Useful query:

select
LastRunTime,
CASE OperationType
       WHEN 14 THEN 'DeletionService'
       WHEN 15 THEN 'IndexManagement'
       WHEN 30 THEN 'ReindexAll'
       WHEN 32 THEN 'CleanupInactiveWorkflowAssemblies'
       WHEN 40 THEN 'GoalRollup'
END OperationType, OperationType,
enabled, ExecutionTime,LastResultCode,LastResultData
,MaintenanceWindowEndTime,MaintenanceWindowStartTime, ModifiedOn
,NextRunTime,RecurrencePattern, RecurrenceStartTime, StartedOn, State, IsDeleted

from ScaleGroupOrganizationMaintenanceJobs
order by LastRunTime desc

I remember finding the answer to this a long time ago, but I can't find the link now. The jobs' default schedule depends on when in the day you originally installed Dynamics. IIRC, the jobs are scheduled to start 24 hours after installation. This is kind of a silly default since most would install it in the middle of the workday, but that's why they recommend that you change it to be more appropriate for your business schedule.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!