From cd6ee76024c887c6ae0b2b616d28d5281264241c Mon Sep 17 00:00:00 2001
From: Romain CREY <ext.sopra.rcrey@grandlyon.com>
Date: Thu, 25 Jun 2020 09:47:51 +0200
Subject: [PATCH] change trigger to 8.30

---
 config.json                        | 6 +++---
 src/services/fluidConfigService.ts | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.json b/config.json
index 8dd07b5de..dc13d0c45 100644
--- a/config.json
+++ b/config.json
@@ -10,7 +10,7 @@
         "type": "ELECTRICITY",
         "oauth": true,
         "slug": "enedisgrandlyon",
-        "cron": "0 0 4 * * *"
+        "cron": "0 30 8 * * *"
       },
       "siteLink": "https://mon-compte-client.enedis.fr/"
     },
@@ -24,7 +24,7 @@
         "type": "WATER",
         "oauth": false,
         "slug": "eglgrandlyon",
-        "cron": "0 0 4 * * *"
+        "cron": "0 30 8 * * *"
       },
       "siteLink": "https://agence.eaudugrandlyon.com/inscription.aspx"
     },
@@ -38,7 +38,7 @@
         "type": "GAS",
         "oauth": false,
         "slug": "grdfgrandlyon",
-        "cron": "0 0 4 * * *"
+        "cron": "0 30 8 * * *"
       },
       "siteLink": "https://monespace.grdf.fr/monespace/connexion"
     }
diff --git a/src/services/fluidConfigService.ts b/src/services/fluidConfigService.ts
index 1be8a3cdc..8f132a17e 100644
--- a/src/services/fluidConfigService.ts
+++ b/src/services/fluidConfigService.ts
@@ -18,6 +18,6 @@ export default class FluidConfig {
     )
     return filtered.length > 0 && filtered[0].konnectorConfig.cron
       ? filtered[0].konnectorConfig.cron
-      : '0 0 4 * * *'
+      : '0 30 8 * * *'
   }
 }
-- 
GitLab