Executing Cron Job in CakePHP
Filed Under (PHP) by Abhishek Jain on 29-03-2010
Tagged Under : CakePHP, cron job, lynx
After going through a number of ways to execute a cron job in CakePHP ..
The option below seemed to be the simplest and easiest to execute.
However this would work only on a linux / unix machine and requires lynx be installed in your machine.
lynx –dump http://www.your_domain.com/controller/action/ >/dev/null
So for a cron job:
*/5 * * * * lynx –dump http://www.your_domain.com/controller/action/ > /dev/null
Useful links related to Lynx: