امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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?
PHP:
would it simply be the following?
PHP:
\XF::app()->service('myaddon:theService', $arg1, $arg2, $arg3);