[RSS Feed/News] \XF::app()->jobManager()->enqueueUnique question

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Let's say that I have built my Scandals/AddonName/Job/MyJob.php class (extends AbstractJob ? ).
How can on an Admin Pub to make the job to be run?
I want to be able to see on the pub the redirecting phrases like Running...(100)...(200) etc.

I use this on an Admin Pub with no result:
PHP:

Code:
\XF::app()->jobManager()->enqueueUnique('MyJob_' . uniqid(), 'Scandals\AddonName:MyJob', [
                            'content_ids' => $userIds
                        ]);

I can see the entry on db...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom