Dear ACS members
I first hope that you are all safe with your family !
I have been an alfresco user & admin since many years and I'm still facing the same issue:
I'm not able to have the synchronization of my LDAP synchronization working out of the initial stsart of the plateform
I've tried many different cron expression with no success
I have 2 ldap configurations defined (for 2 differents synchronisation purpose)
for both of them, the synchronization are the start of alfresco is working but the synchronization.import.cron job is never working
here are the different tests I made
ldap.synchronization.active=true
synchronization.syncOnStartup=true
synchronization.import.cron=0 */10 * * * ?
synchronization.import.cron=0 0/5 * * * ?
synchronization.import.cron=0 0/10 * 1/1 * ? *
synchronization.import.cron=0 */10 * * * ?
synchronization.import.cron=0 0/10 0-23 ? * MON-SUN
(same for both ldap-authentication.properties)
can you please explain me how to have the sync running every 10 min ?
Thanks
Sylvain
Solved! Go to Solution.
the answer is "I should remove all lines with "synchronization.xyz" and set only 1 set of settings in the "alfresco-global.properties"
thanks @afaust, it's working now !!!
Hi @lascaux_2774,
Thanks for your kind words - we all hope that you, your family, your friends and your neighbourhood are safe and well too.
I'll ask our engineers and hopefully we can help you soon.
Stay safe,
The "synchronization.xyz" properties do not belong in the ldap-authentication.properties - these should rather be set in the synchronization subsystem properties files, or simply via alfresco-global.properties. In the ldap-authentication.properties they will not have any effect. Only the "ldap.synchronization.xyz" properties are part of ldap-authentication.properties.
Dear @afaust
not sur to fully get it
do you mean that in each ldap-authentication.properties, I should prefix all "synchronization.xyz" by "ldap." ("ldap.synchronization.xyz")
or
do you mean that in each ldap-authentication.properties, I should remove all lines with "synchronization.xyz" and set only set of settings in the alfresco-global.properties
ex.
# Sync synchronization.synchronizeChangesOnly=false synchronization.allowDeletions=true synchronization.syncOnStartup=true synchronization.autoCreatePeopleOnLogin=false synchronization.syncWhenMissingPeopleLogIn=true # Synchron every 10 min #synchronization.import.cron=0 */10 * * * ? #synchronization.import.cron=0 0/5 * * * ?#synchronization.import.cron=0 0/10 * 1/1 * ? * #synchronization.import.cron=0 */10 * * * ? synchronization.import.cron=0 0/10 0-23 ? * MON-SUN
Thanks for your help
the answer is "I should remove all lines with "synchronization.xyz" and set only 1 set of settings in the "alfresco-global.properties"
thanks @afaust, it's working now !!!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.