CakePHP 2.3 - cron dispatcher
问题 I followed instructions from this website: http://colorblindprogramming.com/cronjobs-in-cakephp-2-in-5-steps , but my cronjob does not work. This is my /app/cron_dispatcher.php: <?php if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } if (!defined('ROOT')) { define('ROOT', dirname(dirname(__FILE__))); } if (!defined('APP_DIR')) { define('APP_DIR', basename(dirname(__FILE__))); } if (!defined('WEBROOT_DIR')) { define('WEBROOT_DIR', basename(dirname(__FILE__))); } if (!defined('WWW_ROOT