Ok, thanks, I want the cron to run by its self at a specific time. SoI do not have to do it myself daily. Can this be done in your approach? New to cron set up.
Will check into the shell approach. Dave -----Original Message----- From: Martin Westin [mailto:martin.westin...@gmail.com] Sent: September-28-09 9:33 AM To: CakePHP Subject: Re: Run a cron Job The cake shell is prefect for this. I do cron tasks by creating Cake shell tasks and from there I do a requestAction if I really need to call an action. This is what I tell cron: /ful/path/to/cake/console/cake -app /full/path/to/app shellname >>/dev/ null 2>&1 The last bit (dev/null and that) makes the shell totally silent which is needed unless you want the cron to terminate unexpectedly. But when testing yourself you should leave that out so you can see the output. On Sep 27, 6:27 pm, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > Trying to set up an action to run at a specific time. Found a few > sites saying replace require CORE_PATH.'cake'.DS.'bootstrap.php'; > in index.php but no longer appears to be there. > > Any good places to look where to set this up? > > Thanks > > Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---