Asim Zaidi
Asim Zaidi

Reputation: 28284

run shell script from within app

I have a need to run this

./Console/cake AclExtras.AclExtras aco_sync

in my app in the controller. Is that possible? how would I do that. thanks

Upvotes: 0

Views: 330

Answers (1)

Suman
Suman

Reputation: 9571

I think you are looking for a way to execute an external script in CakePHP - one of the methods specified here should work: http://chipmunkninja.com/Program-Execution-in-PHP%3A-exec-m@

Upvotes: 1

Related Questions