From 0df3ef6959891ba02760f16cf4d9c34c48837892 Mon Sep 17 00:00:00 2001 From: Sachin Kadam <152252767+sac2kadam@users.noreply.github.com> Date: Tue, 24 Jun 2025 12:09:39 +0530 Subject: [PATCH 1/2] cti data chek nhm schedular --- src/main/environment/common_ci.properties | 12 ++++++++---- src/main/environment/common_docker.properties | 11 ++++++++--- src/main/environment/common_example.properties | 6 +++--- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/main/environment/common_ci.properties b/src/main/environment/common_ci.properties index 8d42a126..91039c66 100644 --- a/src/main/environment/common_ci.properties +++ b/src/main/environment/common_ci.properties @@ -54,10 +54,14 @@ start-email-scheduler=true cron-scheduler-email=0 0/1 * * * ? * ###cti data check with call detail report Scheduler -#Runs at everyday 12:10AM -start-ctidatacheck-scheduler=true -cron-scheduler-ctidatacheck=0 10 00 * * * - +start-ctidatacheck-scheduler=@env.START_CTIDATACHECK_SCHEDULER@ +cron-scheduler-ctidatacheck=0 00 02 * * * +##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ +start-ctidatasync-scheduler=@env.START_CTIDATASYNC_SCHEDULER@ +cron-scheduler-ctidatasync=0 30 01 * * ? * +##-----------------------------------------------#NHM data dashboard schedular---------------------------------------------------------------- +start-nhmdashboard-scheduler=@env.START_NHMDASHBOARD_SCHEDULER@ +cron-scheduler-nhmdashboard=0 30 0 * * ? * ### generate Beneficiary Config genben-api= @env.BEN_GEN_API_URL@ diff --git a/src/main/environment/common_docker.properties b/src/main/environment/common_docker.properties index 6799c959..d506dded 100644 --- a/src/main/environment/common_docker.properties +++ b/src/main/environment/common_docker.properties @@ -55,9 +55,14 @@ cron-scheduler-email=0 0/1 * * * ? * ###cti data check with call detail report Scheduler #Runs at everyday 12:10AM -start-ctidatacheck-scheduler=true -cron-scheduler-ctidatacheck=0 10 00 * * * - +start-ctidatacheck-scheduler=${START_CTIDATACHECK_SCHEDULER} +cron-scheduler-ctidatacheck=0 00 02 * * * +##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ +start-ctidatasync-scheduler=${START_CTIDATASYNC_SCHEDULER} +cron-scheduler-ctidatasync=0 30 01 * * ? * +##-----------------------------------------------#NHM data dashboard schedular---------------------------------------------------------------- +start-nhmdashboard-scheduler=${START_NHMDASHBOARD_SCHEDULER} +cron-scheduler-nhmdashboard=0 30 0 * * ? * ### generate Beneficiary Config genben-api= ${BEN_GEN_API_URL} diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index 7bc96104..20ab6f04 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -64,13 +64,13 @@ cron-scheduler-email=0 0/1 * * * ? * ##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ start-ctidatasync-scheduler=false -cron-scheduler-ctidatasync=0 0 2 */2 * ? +cron-scheduler-ctidatasync=0 30 01 * * ? * ##-------------------------------###cti data check with call detail report Scheduler------------------------------------------------------ #Runs at everyday 12:10AM -start-ctidatacheck-scheduler=true -cron-scheduler-ctidatacheck=0 10 00 * * * +start-ctidatacheck-scheduler=false +cron-scheduler-ctidatacheck=0 00 02 * * * ##---------------------------------#### Registration schedular for Avni------------------------------------------------------------------------------ From 57354a658fac0a33682b6497cba2e0d363194b67 Mon Sep 17 00:00:00 2001 From: Sachin Kadam <152252767+sac2kadam@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:32:03 +0530 Subject: [PATCH 2/2] grievance scheduler added --- src/main/environment/common_ci.properties | 2 +- src/main/environment/common_docker.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/environment/common_ci.properties b/src/main/environment/common_ci.properties index 91039c66..a5e66660 100644 --- a/src/main/environment/common_ci.properties +++ b/src/main/environment/common_ci.properties @@ -174,7 +174,7 @@ springdoc.swagger-ui.enabled=false isProduction=@env.IS_PRODUCTION@ grievanceAllocationRetryConfiguration=3 -start-grievancedatasync-scheduler=true +start-grievancedatasync-scheduler=@env.START_GRIEVANCEDATASYNC_SCHEDULER@ cron-scheduler-grievancedatasync=0 0/2 * * * ? captcha.secret-key=@env.CAPTCHA_SECRET_KEY@ diff --git a/src/main/environment/common_docker.properties b/src/main/environment/common_docker.properties index d506dded..41881886 100644 --- a/src/main/environment/common_docker.properties +++ b/src/main/environment/common_docker.properties @@ -176,7 +176,7 @@ springdoc.swagger-ui.enabled=false isProduction=${IS_PRODUCTION} grievanceAllocationRetryConfiguration=3 -start-grievancedatasync-scheduler=false +start-grievancedatasync-scheduler=${START_GRIEVANCEDATASYNC_SCHEDULER} cron-scheduler-grievancedatasync=0 0/2 * * * ? captcha.secret-key=${CAPTCHA_SECRET_KEY}