mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Update console commands
This commit is contained in:
@@ -39,8 +39,7 @@ class module_console_schedulerStop extends Command
|
||||
protected function doExecute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
try {
|
||||
$appbox = $this->getService('phraseanet.appbox');
|
||||
$task_manager = new task_manager($appbox);
|
||||
$task_manager = new task_manager($this->container);
|
||||
$task_manager->setSchedulerState(task_manager::STATE_TOSTOP);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user