...
To pause the CXO services there are two options:
1. Stop
...
programmatically while the user synchronization is ongoing (refer to the code snippet below).
Code Block |
---|
Stop-Service -Name "CXO-Cockpit Agent" Stop-Service -Name "CXO-Cockpit Export Service" <run synchronizatiob> Stop-Service -Name "CXO-Cockpit Agent" Stop-Service -Name "CXO-Cockpit Export Service" |
2. Adjust active periods of CXO service using Configurator
Open the Configurator > Configuration > Schedule.xml
Edit the cron-expression of the following jobs so that they are not run while the user synchronization is ongoing: UnreadConversationMessagesNotificationJob, EmailJob, screenShotsJob, CleanUpJob
You can use a CRON expression editor to define a period when the services will not be running.
See example below how to pause it between 2 AM and 4 AM
...
Leave time for export jobs to complete before the user synchronization begins