Schedule and Reschedule the garbage collection in cq5, also overriding the gc call time :
1. Go to the web console in crx (Adobe Experience Manager Web Console Configuration)
[ http://localhost:4592/system/console/configMgr ].
2. Search ( ctrl + f ) for "Repository Garbage Collection Scheduler" , double click on it.
You will see a popup window like this
3. There is a field "Schedule" , you can schedule it by using regular expression like this
here "0 58 19 ? * MON-FRI" means monday to friday (each day) at 19:58:00 (24 hr format) garbage collector will be called.
** This is not the same in AEM 6.
4. All the details when gc is called can be seen with time stamp in "error.log".
Now overriding the Schedular, no need to go to the web console :
1. Create a node, name it as "com.day.crx.sling.server.impl.jmx.GarbageCollectionConfig" with jcr:primaryType as "sling:OsgiConfig".
1. Go to the web console in crx (Adobe Experience Manager Web Console Configuration)
[ http://localhost:4592/system/console/configMgr ].
2. Search ( ctrl + f ) for "Repository Garbage Collection Scheduler" , double click on it.
You will see a popup window like this
3. There is a field "Schedule" , you can schedule it by using regular expression like this
here "0 58 19 ? * MON-FRI" means monday to friday (each day) at 19:58:00 (24 hr format) garbage collector will be called.
** This is not the same in AEM 6.
4. All the details when gc is called can be seen with time stamp in "error.log".
Now overriding the Schedular, no need to go to the web console :
1. Create a node, name it as "com.day.crx.sling.server.impl.jmx.GarbageCollectionConfig" with jcr:primaryType as "sling:OsgiConfig".
2. Now add these properties, it will use the time as you enter in the field schedule.
No comments:
Post a Comment