From 910b45fdd35d23477195b72699f9c72585965e89 Mon Sep 17 00:00:00 2001 From: Gus Brodman Date: Tue, 12 Aug 2025 14:43:26 -0400 Subject: [PATCH] Chage run-time of DeleteExpiredDomainsAction We probably want this to run before the billing recurrence expansion pipeline just in case there are any domains that should be deleted before their billing recurrence gets expanded. --- .../config/files/tasks/cloud-scheduler-tasks-alpha.xml | 4 +++- .../config/files/tasks/cloud-scheduler-tasks-crash.xml | 3 ++- .../config/files/tasks/cloud-scheduler-tasks-production.xml | 4 +++- .../registry/config/files/tasks/cloud-scheduler-tasks-qa.xml | 3 ++- .../config/files/tasks/cloud-scheduler-tasks-sandbox.xml | 4 +++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-alpha.xml b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-alpha.xml index bebc20c89b9..e53acaeae1e 100644 --- a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-alpha.xml +++ b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-alpha.xml @@ -88,6 +88,7 @@ should exist between the RECURRING_BILLING cursor's time and the execution time of the action. + 0 3 * * * @@ -98,7 +99,8 @@ This job runs an action that deletes domains that are past their autorenew end date. - 7 3 * * * + + 45 2 * * * diff --git a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-crash.xml b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-crash.xml index dfb7f3f7cbd..96be218e5fa 100644 --- a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-crash.xml +++ b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-crash.xml @@ -146,6 +146,7 @@ This job runs an action that deletes domains that are past their autorenew end date. - 7 3 * * * + + 45 2 * * * diff --git a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-production.xml b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-production.xml index 584d02376ac..7beba48ca5f 100644 --- a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-production.xml +++ b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-production.xml @@ -130,6 +130,7 @@ should exist between the RECURRING_BILLING cursor's time and the execution time of the action. + 0 3 * * * @@ -140,7 +141,8 @@ This job runs an action that deletes domains that are past their autorenew end date. - 7 3 * * * + + 45 2 * * * diff --git a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-qa.xml b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-qa.xml index 50c158ce807..67e57480601 100644 --- a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-qa.xml +++ b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-qa.xml @@ -57,6 +57,7 @@ This job runs an action that deletes domains that are past their autorenew end date. - 7 3 * * * + + 45 2 * * * diff --git a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-sandbox.xml b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-sandbox.xml index 0855c11d4e3..11451d54fad 100644 --- a/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-sandbox.xml +++ b/core/src/main/java/google/registry/config/files/tasks/cloud-scheduler-tasks-sandbox.xml @@ -90,6 +90,7 @@ should exist between the RECURRING_BILLING cursor's time and the execution time of the action. + 0 3 * * * @@ -113,7 +114,8 @@ This job runs an action that deletes domains that are past their autorenew end date. - 7 3 * * * + + 45 2 * * *