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

Avatar

Avatar

vin_k

Avatar

vin_k

vin_k

09-11-2020

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

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

prashantonkar

Avatar

prashantonkar

prashantonkar

09-11-2020

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>

Answers (0)