I have two separate projects in one server. one of them is a Zend Console application called "importer" and the other one is a complete Zend Framework 2 application called "VAP".
I want to call one of my functions in VAP from my console application. I have this function as a function in my model in VAP and also as a controller's Action (reachable with URL).
is such a thing possible at all ? if yes, how ?
I have already tried cURL to reach to that URL and call that action, but as my application is working only for logged-in users, it seems not working.