Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM Cloud - Maintenance weekly/daily

Avatar

Level 4

Hello Team,

I have weekly maintenance configuration at /apps/settings/granite/operations/maintenance/granite_weekly with below config

 

<?xml version="1.0" encoding="UTF-8"?>
    jcr:primaryType="sling:OrderedFolder"
    sling:resourceType="granite/operations/components/maintenance/window"
    name="Weekly Maintenance Window"
    windowEndTime="2:00"
    windowSchedule="weekly"
    windowScheduleWeekdays="\[7,7]"
    windowStartTime="1:00">
    <granite_WorkflowPurgeTask/>
</jcr:root>
 
and in my local AEM, deployed with above configuration values.
pradeepmoolemane_0-1690865630387.png

 

 

But when its deployed on AEM cloud instances, I see different configuration with sling:configCollectionInherit and sling:configPropertyInherit

 

is this behavior expected instead of seeing actual configuration values set in the code ?

 on AEM cloud instnaces.

pradeepmoolemane_1-1690865720656.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Yes that’s correct by default there is no default maintenance window on aem cloud service configure prior to 1st September 2023. You first need to create the maintenance window for daily, weekly or monthly as explained on https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/maintena... 

https://www.initialyze.com/insights/aem-as-cloud-services-maintenance

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Yes that’s correct by default there is no default maintenance window on aem cloud service configure prior to 1st September 2023. You first need to create the maintenance window for daily, weekly or monthly as explained on https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/maintena... 

https://www.initialyze.com/insights/aem-as-cloud-services-maintenance

 

Avatar

Community Advisor

Hi @pradeepmoolemane As mentioned in the documentation https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/maintena... the properties in the code being pushed from GIT should be 

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
  xmlns:jcr="http://www.jcp.org/jcr/1.0"
  jcr:primaryType="sling:Folder"
  sling:configCollectionInherit="true"
  sling:configPropertyInherit="true"
  windowSchedule="daily"
  windowStartTime="03:00"
  windowEndTime="05:00"
 />

 

But the screenshot shared above in the thread does not contains, all of them. Can you try by adding the remaining properties as well.