Yeah I set up a reports.php like they did in the Cookbook but even when I try to run it from the control panel I keep getting '/bin/sh: 15: command not found'
I will just leave it for now and run it myself from admin. Dave -----Original Message----- From: Miles J [mailto:mileswjohn...@gmail.com] Sent: September-28-09 1:49 PM To: CakePHP Subject: Re: Run a cron Job Cron isn't run through PHP, I think thats what your trying to get at. You have to setup cron jobs through your hosts control panel, or at least figure out where you define your cron jobs. On Sep 28, 8:58 am, brian <bally.z...@gmail.com> wrote: > On Mon, Sep 28, 2009 at 10:02 AM, Dave Maharaj :: WidePixels.com > > <d...@widepixels.com> wrote: > > > 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. > > Yes, this is exactly what cron is for. You'd enter it like so: > > 15 0 * * * /path/to/cake/console/cake -app /path/to/your/app > shell_task_name > > Have a look online how to set up jobs at a particular time. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---