For CakePHP 2.3.8
How can I call Another Controller function in CronController.php
Any ideas?
Below is the code:
App::import('Controller', 'Products'); // mention at top
// Instantiation // mention within cron function
$Products = new ProductsController;
// Call a method from
$Products->ControllerFunction();
Hope it helps some one !