Replace 'bin/worker.php' calls and help

This commit is contained in:
Philipp 2025-01-02 20:29:17 +01:00
parent 7b952e3c94
commit c79f0c83a7
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
6 changed files with 13 additions and 13 deletions

View file

@ -1207,7 +1207,7 @@ class Worker
if (Worker\Daemon::isMode() && DI::config()->get('system', 'worker_fork')) {
self::forkProcess($do_cron);
} else {
DI::system()->run('bin/worker.php', ['no_cron' => !$do_cron]);
DI::system()->run('bin/console.php worker', ['no_cron' => !$do_cron]);
}
if (Worker\Daemon::isMode()) {
Worker\IPC::SetJobState(false);