exec("php /full_path_to/domain.com/app/Console/cake.php NewsletterDaily", $output);
print_r($output);
On Thursday, April 4, 2013 4:42:17 PM UTC+2, Tomas Dobrotka wrote:
Is is possible to call console command via HTTP? My Hosting privder CRON only makes HTTP requests.--
I need CRON to call this console function:
/app/Console/Command/lib/Cake/Console/cake -app "/domain.com/app" NewsletterDaily
Is is possible to call the same Command via HTTP request in some way?
Has anyone some solution for this?
Thank you.
Tomas
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment