chmod +x /home/mileswj/cake/console/cake

then put this in cron

/home/mileswj/cake/console/cake your_shell_name -app /home/mileswj/
sc2armory.com/app/

Cheers,
Adam


On Jun 15, 6:25 pm, Miles J <[email protected]> wrote:
> Heres my current folder setup.
>
> /home/mileswj/cake/ (below root and shared between many apps)
> /home/mileswj/sc2armory.com/app/
> /home/mileswj/milesj.me/app/
> ... etc ...
>
> All the sites work correctly, im just trying to get a cron running on
> sc2armory. Ive tried all the following and none of them work.
>
> /usr/local/php5/bin/php /home/mileswj/cake/console/cake cron
> /usr/local/php5/bin/php /home/mileswj/cake/console/cake -app /home/
> mileswj/sc2armory.com/app/ cron
> /usr/local/php5/bin/php /home/mileswj/cake/console/cake -app "/home/
> mileswj/sc2armory.com/app/" cron
>
> All of those output this data into my email:
>
> clear
> LIB=${0/%cake/}
> APP=`pwd`
> exec php -q ${LIB}cake.php -working "${APP}" "$@"
> exit;
>
> Also tried using exec php -q and some other commands and nothing.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to