Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/cli/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,11 @@ public function actionExec($id, $ttr, $attempt, $pid)
*/
protected function handleMessage($id, $message, $ttr, $attempt)
{
// Child process command: php yii queue/exec "id" "ttr" "attempt" "pid"
// Child process command: php -c <PATH_TO_INI_FILE> yii queue/exec "id" "ttr" "attempt" "pid"
$cmd = [
$this->phpBinary,
'-c',
get_cfg_var('cfg_file_path'),
$_SERVER['SCRIPT_FILENAME'],
$this->uniqueId . '/exec',
$id,
Expand Down