diff --git a/index.js b/index.js index 7ac991298282b9ce6e4fe57fb17a0620fba50253..8a2a37a59cd905d6cd346bcc5bc9a90a117aaa7a 100644 --- a/index.js +++ b/index.js @@ -107,7 +107,7 @@ moment.locale('fr') // set the language moment.tz.setDefault('Europe/Paris') // set the timezone /*** Connector Constants ***/ -const manualExecution = false +const manualExecution = process.env.COZY_JOB_MANUAL_EXECUTION const startDailyDate = manualExecution ? moment().subtract(12, 'month') : moment().subtract(32, 'month')