Hi,
In a staging/production environment, we would like to prevent scheduled task configuration from being included in the content synchronisation.
We have created a module that sets the LogSychronization to None, but this does not prevent a change to the scheduled tasks triggering a sync task.
CMS.Scheduler.TaskInfo.TYPEINFO.SynchronizationSettings.LogSynchronization = CMS.DataEngine.SynchronizationTypeEnum.None;
What would be the best way to go about this?
Thanks, Stephen
Hi, Have you tried following the idea from this KB article on how to affect logging of staging tasks? So, you will be checking e.g. the CMS.ScheduledTask object type and then check e.g. its code name and decide whether to log staging task or not.
Please, sign in to be able to submit a new answer.