How can I schedule cache flushes in Jahia 4?

"Hirschfeld, Max" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Dear fellow developers,

At our company, access to Jahia (v4.1) sites is controlled using groups
from the LDAP repository. When a user is granted or revoked rights, he
is added to or removed from the appropriate LDAP group. Users also log
in to the portal sites using LDAP accounts. 

We found that to propagate changes in ldap users and groups to the Jahia
sites, we usually need to flush the Jahia server caches related to these
items. Currently, an administrator logs in to flush these caches every
once in a while. Our administrators have requested to have these items
flushed automatically once every week.

To do so, I was thinking of adding a quartz job that uses the scheduler
service to clear the user and group caches. Has anyone ever done
something similar? Is there anything I should be aware of when I do so?
Any pitfalls?

Best regards,

Max.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.