Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Schedule Repository Maintenance at a specific time

ivanp2522110
Level 3
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
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

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
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

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

GK-AEM
Level 9
Level 9

is the shared information solved your problem??