run-jobs

  1. Sim

    Fixed Bug: Cron Job runner generates infinite loop in some circumstances

    While developing a new version of my CLI JobRunner with enhanced functionality beyond that provided by the core xf:run-jobs command, I kept coming across random periods where the code ran indefinitely until some other limit was reached, consuming large amounts of CPU while doing so. After...
  2. Sim

    Fixed xf:run-jobs may never stop

    The current logic for the xf:run-jobs command may in some circumstances see the task never stop - or at least run for longer than the server cron period. do { $jobManager->runQueue($manualOnly, $maxRunTime); // keep the memory limit down on long running...
Top