From 1be0ad885c44866c5ea8a937610c18c0bed9eb30 Mon Sep 17 00:00:00 2001 From: sarahcaseybot Date: Fri, 21 Feb 2020 12:22:17 -0500 Subject: [PATCH] Add daily cron job for IcannReportingUploadAction (#385) * Add daily cron job for IcannReportingUploadAction This job checks each ICANN cursor's cursorTime. If all cursorTime values are in the future, the action exits and does nothing. For each cursor that has a cursorTime in the past, the corresponding report is uploaded if it is staged, or logs an error message if the report has not been staged yet. * Change cron job description --- .../registry/env/production/default/WEB-INF/cron.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/src/main/java/google/registry/env/production/default/WEB-INF/cron.xml b/core/src/main/java/google/registry/env/production/default/WEB-INF/cron.xml index e7bf1ddfd..bd9295459 100644 --- a/core/src/main/java/google/registry/env/production/default/WEB-INF/cron.xml +++ b/core/src/main/java/google/registry/env/production/default/WEB-INF/cron.xml @@ -279,6 +279,18 @@ backend + + + + Checks if the monthly ICANN reports have been successfully uploaded. If they have not, attempts to upload them again. + Most of the time, this job should not do anything since the uploads are triggered when the reports are staged. + However, in the event that an upload failed for any reason (e.g. ICANN server is down, IP whitelist issues), + this cron job will continue to retry uploads daily until they succeed. + + every day 15:00 + backend + +