Schedule Repository Maintenance at a specific time | Community
Skip to main content
ivanp2522110
Level 2
January 20, 2016
Solved

Schedule Repository Maintenance at a specific time

  • January 20, 2016
  • 3 replies
  • 1015 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

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-manager.topic.html/forum__osis-hi_guys_i_havea.html)

 
  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" />

3 replies

GK-007
Level 9
January 20, 2016
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
January 20, 2016

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-manager.topic.html/forum__osis-hi_guys_i_havea.html)

 
  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" />
GK-007
Level 9
January 22, 2016

is the shared information solved your problem??