- Compatible versions
- 2.2, 2.3
This XenForo 2.x addon implements an advanced CLI triggered job runner for use with Unix cron as a replacement for the built-in xf:run-jobs command introduced in XF 2.2
The command is called hg:run-jobs and does the same thing that xf:run-jobs does, but with more options and functionality.
Features
Main features of this addon:
Requirements
This addon requires PHP 7.0 or higher and has been tested on XenForo v2.2 and v2.3
The command is called hg:run-jobs and does the same thing that xf:run-jobs does, but with more options and functionality.
Features
Main features of this addon:
- allows commands to process jobs/crons for up to 10 minutes at a time, even when triggered every minute from a cron task (uses a lock file to prevent multiple executions in parallel) - ideal for improving job performance on high traffic sites
- extensive debugging output available for testing and identifying issues with jobs and cron tasks
- drop-in replacement for xf:run-jobs
- command to list all outstanding Jobs hg:show-jobs
- command to list all XF Cron tasks hg:show-crons
- command to execute an XF Cron task hg:run-cron
Requirements
This addon requires PHP 7.0 or higher and has been tested on XenForo v2.2 and v2.3