I am trying to setup a cron job in cakePHP 1.2 and so far I've seen
two ways of doing it.

1. First way is have the cron call the cake console to execute a
shell.

Sample: 
http://www.ibm.com/developerworks/opensource/library/os-php-fwk5/?ca=dgr-lnxw03PHP-CRON-Tasks

2. Then there is the cron dispatcher way where you setup another
dispatcher where you make a copy of the index.php.

Sample: http://blogchuck.com/?p=22

My question is which one is the best practice to execute cron job.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to