mirror of
https://github.com/friendica/friendica
synced 2025-04-24 15:10:11 +00:00
Adapt run-command for console.php executions
This commit is contained in:
parent
c79f0c83a7
commit
eb0c38f90f
3 changed files with 10 additions and 5 deletions
|
@ -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/console.php worker', ['no_cron' => !$do_cron]);
|
||||
DI::system()->run('bin/console.php', ['worker'], ['no_cron' => !$do_cron]);
|
||||
}
|
||||
if (Worker\Daemon::isMode()) {
|
||||
Worker\IPC::SetJobState(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue