Thursday, December 20, 2012

db connection from cron job

hello,

I need to Schedule "cake EmailQueue.Sender" command from cronjob.
In running job i get bellow error command


 [36mWelcome to CakePHP v2.2.3 Console [0m
------------------------------
---------------------------------
App : app
Path: /home/public_html/app/
---------------------------------------------------------------
 [31;4mError: [0m Database connection "Mysql" is missing, or could not be created.

but website browsing with browser and connect to DB very well.
This command in my windows command prompt so running cery well without error.
please help me

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: