Re: Access shell function from controller
Thanks, figured it out !
Avinash
On Sep 22, 2:19 am, cricket <zijn.digi...@gmail.com> wrote:
> On Tue, Sep 21, 2010 at 11:16 AM, Avinash <aviban...@gmail.com> wrote:
> > How can i access shell from controller.
> > Actually here's what i'm trying do to. I have to send sms as per the
> > scheduler, for that i have set cron job which will invoke controller
> > function, which is where i want to call the shell method for sending
> > SMS.
>
> Just like you would with any PHP script. Look at exec(), shell_exec(),
> escapeshellcmd(), system(), passthru(), etc.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home