<?php
ignore_user_abort(true);
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
$app = XF::setupApp('XF\Pub\App');
$output = ['more' => false];
$jobManager = $app->jobManager();
if ($jobManager->canRunJobs())
{
$maxRunTime = $app->config('jobMaxRunTime');
$onlyIds = $app->request()->filter('only_ids', 'array-uint');
if ($onlyIds)
{
$multiResult = $jobManager->runByIds($onlyIds, $maxRunTime);
if ($multiResult['remaining'])
{
$output['more'] = true;
/**...
Devamını Oku
Okumaya devam et...
ignore_user_abort(true);
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
$app = XF::setupApp('XF\Pub\App');
$output = ['more' => false];
$jobManager = $app->jobManager();
if ($jobManager->canRunJobs())
{
$maxRunTime = $app->config('jobMaxRunTime');
$onlyIds = $app->request()->filter('only_ids', 'array-uint');
if ($onlyIds)
{
$multiResult = $jobManager->runByIds($onlyIds, $maxRunTime);
if ($multiResult['remaining'])
{
$output['more'] = true;
/**...
Devamını Oku
Okumaya devam et...