feature/PMCORE-2197
update
This commit is contained in:
@@ -88,7 +88,7 @@ class ScheduleRunCommand extends BaseCommand
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
})->onOneServer();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
parent::handle();
|
parent::handle();
|
||||||
|
|||||||
@@ -265,9 +265,9 @@ class TaskSchedulerBM
|
|||||||
$task->startingTime = $service["startingTime"];
|
$task->startingTime = $service["startingTime"];
|
||||||
$task->endingTime = $service["endingTime"];
|
$task->endingTime = $service["endingTime"];
|
||||||
if ($win) {
|
if ($win) {
|
||||||
$task->body = 'php "' . PATH_TRUNK . $service["filew"] . '" ' . $service["service"] . ' +w' . config("system.workspace") . ' +force';
|
$task->body = 'php "' . PATH_TRUNK . $service["filew"] . '" ' . $service["service"] . ' +w' . config("system.workspace") . ' +force +async';
|
||||||
} else {
|
} else {
|
||||||
$task->body = 'su -s /bin/sh -c "php ' . PATH_TRUNK . $service["file"] . " " . $service["service"] . ' +w' . config("system.workspace") . ' +force"';
|
$task->body = 'su -s /bin/sh -c "php ' . PATH_TRUNK . $service["file"] . " " . $service["service"] . ' +w' . config("system.workspace") . ' +force +async"';
|
||||||
}
|
}
|
||||||
$task->expression = $service["expression"];
|
$task->expression = $service["expression"];
|
||||||
$task->type = "shell";
|
$task->type = "shell";
|
||||||
|
|||||||
Reference in New Issue
Block a user