Dannymh
Active member
My addon that I am writing has a service which generates PDF documents. I need this to be run by a cron at regular intervals and will generate the PDF files for me. What I am struggling with is just how I would call that service from the cron?
would it simply be the following?
would it simply be the following?
PHP:
\XF::app()->service('myaddon:theService', $arg1, $arg2, $arg3);