For cron create a shell : http://book.cakephp.org/2.0/en/console-and-shells.html <http://book.cakephp.org/2.0/en/console-and-shells.html>
Load the vendor in a similar fashion as you already doing it in the controller or just require_occe… Andras Kende > On Oct 30, 2014, at 9:43 PM, Archana Goyal <[email protected]> wrote: > > I am implementing payment gateway in CakePHP application. I stored functions > of payment gateway in vendor and using in controller by importing. I want to > create cron to check subscription of user in daily basis, so I need to use > vendor file in cron. > I did R&D for this on google but nothing found. Please help to get out from > this problem. > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > <https://www.facebook.com/CakePHP> > Find us on Twitter http://twitter.com/CakePHP <http://twitter.com/CakePHP> > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/cake-php > <http://groups.google.com/group/cake-php>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
