Sorry, I know this already. I didn't remove this post because I
thought it would be a good piece of information.

I think the first way (doing cron through console) is the best
practice.

http://manual.cakephp.org/complete/108/The-CakePHP-Console

Hope this helps.

On Nov 9, 10:20 am, jjh <[EMAIL PROTECTED]> wrote:
> 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=...
>
> 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