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