mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Merge branch 'BusinessFields' into Dev
This commit is contained in:
@@ -49,8 +49,10 @@ class module_console_schedulerState extends Command
|
||||
{
|
||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||
$task_manager = new task_manager($appbox);
|
||||
|
||||
$state = $task_manager->get_scheduler_state();
|
||||
if ($state['schedstatus'] == 'started')
|
||||
|
||||
if ($state['status'] == 'started')
|
||||
{
|
||||
$output->writeln(sprintf(
|
||||
'Scheduler is %s on pid %d'
|
||||
@@ -60,7 +62,7 @@ class module_console_schedulerState extends Command
|
||||
}
|
||||
else
|
||||
{
|
||||
$output->writeln(sprintf('Scheduler is %s', $state['schedstatus']));
|
||||
$output->writeln(sprintf('Scheduler is %s', $state['status']));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user