XF 2.0 Job management

CMTV

Well-known member
Where can I find all running jobs (jobs that extends AbstractJob). How to correctly stop jobs that are already running?
Where can I see messages sent using getStatusMessage() method?

Maybe some console commands? Something like php cmd.php xf-showjobs...?
 
Last edited:
You can find all runnable jobs in the src/XF/Job directory, running jobs are in the xf_job table (or something similar).

The status message is only shown when jobs are run manually in the admin control panel (Tools->Rebuild caches).

There's no cli interface for the job system - they're run automatically by the job.php script on page load (via an XHR).

Liam
 
Top Bottom