My guess is that your cron method is looking for a view and cannot find it. Try adding 'exit' to the end of your method code. Also if you are using cakephp 1.2 have a look at http://book.cakephp.org/view/110/Creating-Shells-Tasks
_k10_ http://www.innovatechnologies.in On Jan 20, 3:38 am, Kyle Decot <[email protected]> wrote: > I'm attempting to implement cron jobs into my website but I'm having a > little trouble. I created the cron_dispatcher file I found > athttp://bakery.cakephp.org/articles/view/calling-controller-actions-fr... > > I then entered the following in my hostgator cron job page under the > "command" field: > > php cron_dispatcher.php /pages/cron > > But when the job runs and I am notified via email, it says 404 not > found. I am guessing that what I am putting in the command field is > incorrect. Any Ideas on what would be the proper solution? > > Thank you as always. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
