What is considered
best practice for CI4 when it comes to code/functionality that could be invoked either by a cron script, or interactively at the press of a button by the user?
I guess it's something along the lines of putting all the "shared code" in regular models, controllers, and views, and then utilizing the model and controller in a stand-alone PHP script but adding CLI output in that particular script?
-joho