diff --git a/src/libs/Cron.php b/src/libs/Cron.php
index <HASH>..<HASH> 100644
--- a/src/libs/Cron.php
+++ b/src/libs/Cron.php
@@ -73,7 +73,10 @@ class Cron
 
                 ob_start();
 
-                $controllerObj = new $controller( $app );
+                $controllerObj = new $controller;
+
+                if (method_exists($controllerObj, 'injectApp'))
+                    $controllerObj->injectApp($this->app);
 
                 if( !method_exists( $controllerObj, 'cron' ) )
                     echo "$controller\-\>cron($command) does not exist\n";
use new way to inject app into controllers