ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,649
- Points
- 823
Reputation:
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:
Continue reading...
would it simply be the following?
PHP:
\XF::app()->service('myaddon:theService', $arg1, $arg2, $arg3);
Continue reading...