On Mon, Sep 28, 2009 at 12:24 PM, Dave Maharaj :: WidePixels.com <[email protected]> wrote: > > 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'
It looks like you're trying to feed the shell the example I posted. The "15" being the first part, which the shell doesn't understand. The "15 0 * * *" part of the line is what tells cron when to run the job. How does your control panel set up cron jobs? Does it have a widget for setting the time of day? If so, you probably want to do that and then provide just this part as the job: /path/to/cake/console/cake -app /path/to/your/app shell_task_name Those paths are from root. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
