<dave@widepixels.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment