"cake" is a shell script which needs to be chmod'ed to 755 to allow being executed (also chmod +x will do that)
If you're getting the output of the file instead of it being executed, then it seems you're passing the script onto something else (such as the php interpreter) rather than executing it as a script. Do you have command line access? If so, try it first manually before trying to run in cron. Even if you try and run the shell script with no arguments you should get something. btw, this is the full command to run (either in cron or manually, no linebreaks either): /home/mileswj/cake/console/cake your_shell_name -app /home/mileswj/sc2armory.com/app/ Even if you run this manually, you should get a listing of the available shells: /home/mileswj/cake/console/cake -app /home/mileswj/sc2armory.com/app/ If you don't have command line access it's possible that the control panel you're using is changing the command before entering into cron (such as prefixing it with path of php). If that is happening you might need to write a dummy php script that exec()'s your real command. Cheers, Adam ----- Original Message ----- From: "Miles J" <[email protected]> To: "CakePHP" <[email protected]> Sent: Tuesday, June 16, 2009 10:02 AM Subject: Re: grr help with cron/shell tabs > > Nope, still getting this: > > clear > > LIB=${0/%cake/} > APP=`pwd` > > exec php -q ${LIB}cake.php -working "${APP}" "$@" > > exit; > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
