How do we use a normal Zend Framework 2 controller action (callable from browser) as a cron job? I tried to set one as a cron job but it did not get called.

Do we need a Rest(ful) controller/module for that?