Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Schedule Repository Maintenance at a specific time

Avatar

Level 3

Hi guys,

tasks like Revision Clean Up are scheduled at some fixed time, e.g. 2 am, in 6.1. I would like to change this schedule (time of the lowest load of the server etc.). Where can I find this configuration? In the olden days of AEM 5.6 there was a cron-like format for Repository Garbage Collection Scheduler, but now I cannot find it anywhere.

Could someone please help me?

Kind regards,

Ivan

1 Accepted Solution

Avatar

Correct answer by
Level 10

Create a  node /apps/granite/operations/config/maintenance/_granite_daily/_granite_RevisionGC with the following content. Refer (http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...)

 
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
  3. jcr:primaryType="nt:unstructured"
  4. sling:resourceType="granite/operations/components/maintenance/task"
  5. granite.maintenance.name="RevisionCleanupTask"
  6. granite.operations.condition.runmode="crx3" />

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Create a  node /apps/granite/operations/config/maintenance/_granite_daily/_granite_RevisionGC with the following content. Refer (http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...)

 
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
  3. jcr:primaryType="nt:unstructured"
  4. sling:resourceType="granite/operations/components/maintenance/task"
  5. granite.maintenance.name="RevisionCleanupTask"
  6. granite.operations.condition.runmode="crx3" />

Avatar

Level 9

is the shared information solved your problem??