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

AEM - Stagger the AEM maintenance routines | Runmode based maintenance scheduler for multiple instance

vin_k
Level 1
Level 1

Multiple publisher instance pub-1 pub-2 and pub-3 all three scheduled maintenance task are running at same time for daily and weekly task. Can we implement custom runmode for all three publisher to run at different scheduled time. Configuration should be picked up based on the custom runmode Eg:- If

pub-1 have runmode as pub1(config.publish.pub1) should run daily task at 05:30 to 06:30 and weekly task on Monday

pub-2 have runmode as pub2(config.publish.pub2) should run daily task at 06:30 to 07:30 and weekly task on Tuesday

pub-3 have runmode as pub3(config.publish.pub1) should run daily task at 07:30 to 08:30 and weekly task on Wednesday

 

Can we implement custom runmode under conf and app folder similar to the below folder structure.

/conf/global/settings/granite/operations/maintenance/config.runmode.runmode

/apps/global/settings/granite/operations/maintenance/config.runmode.runmoder

 

1 Accepted Solution
prashantonkar
Correct answer by
Level 4
Level 4

Yes this can be achieved. As a best practice, its better to put the configurations under project level /apps/<project-name>/config/ <your-configs-here>

View solution in original post

2 Replies
prashantonkar
Correct answer by
Level 4
Level 4

Yes this can be achieved. As a best practice, its better to put the configurations under project level /apps/<project-name>/config/ <your-configs-here>

View solution in original post

vin_k
Level 1
Level 1
Hi Prashantonkar - Do you have any links, we can refer and implement this approach. What is the development scope for this implementation ?