Bonsoir,
J'ai un petit soucis avec mon code, je m'explique:
/home/empigqmg/public_html/app/Console/cake Cron index
**Lors de l'execution, le cron m'affiche une erreur, la voici:
****Error: This file has been loaded incorrectly and cannot continue.aroundPlease make sure that /lib/Cake/Console is in your system path,aroundand check the cookbook for the correct usage of this command.around(http://book.cakephp.org/)around#0 /home/empigqmg/public_html/lib/Cake/Console/ShellDispatcher.php(54): ShellDispatcher->_initEnvironment()around#1 /home/empigqmg/public_html/lib/Cake/Console/ShellDispatcher.php(65): ShellDispatcher->__construct(NULL)around#2 /home/empigqmg/public_html/app/Console/cake.php(46): ShellDispatcher::run(NULL)around#3 {main}****
Je ne comprends pas pour quelle raison, à savoir que le cron s'execute toutes les minutes.
J'utilise le cpanel pour planifier mes crons.