I am currently executing a programmed task calling directly to a Controller action by URL. (using the windows 2003 server programming task manager)
I’ve seen some people use the CakePHP console or shell for this kind of operations.
Which is the advantage of using it if any?
My action is currently calling multiple controllers and making use of a vendor library.
Thanks.
Here are a few reasons that come to mind:
I could go into separation of concerns, but that’s usually opinion-driven. I think the first two points are reason enough.