Update task manager commands

This commit is contained in:
Romain Neutron
2013-10-01 18:34:42 +02:00
parent 58c402ac2b
commit afd9d33b9a
21 changed files with 558 additions and 555 deletions

View File

@@ -30,6 +30,13 @@ use Alchemy\Phrasea\Command\Plugin\RemovePlugin;
use Alchemy\Phrasea\Command\CheckConfig;
use Alchemy\Phrasea\Command\Setup\XSendFileMappingGenerator;
use Alchemy\Phrasea\Command\Setup\XSendFileConfigurationDumper;
use Alchemy\Phrasea\Command\Task\SchedulerStart;
use Alchemy\Phrasea\Command\Task\SchedulerState;
use Alchemy\Phrasea\Command\Task\SchedulerStop;
use Alchemy\Phrasea\Command\Task\TaskList;
use Alchemy\Phrasea\Command\Task\TaskRun;
use Alchemy\Phrasea\Command\Task\TaskState;
use Alchemy\Phrasea\Command\Task\TaskManagerCommand;
require_once __DIR__ . '/../lib/autoload.php';
@@ -73,12 +80,14 @@ $cli->command(new \module_console_systemBackupDB('system:backup-db'));
$cli->command(new \module_console_systemClearCache('system:clear-cache'));
$cli->command(new \module_console_systemExport('system:export'));
$cli->command(new \module_console_taskrun('task:run'));
$cli->command(new \module_console_tasklist('task:list'));
$cli->command(new \module_console_taskState('task:state'));
$cli->command(new \module_console_schedulerState('scheduler:state'));
$cli->command(new \module_console_schedulerStop('scheduler:stop'));
$cli->command(new \module_console_schedulerStart('scheduler:start'));
$cli->command(new TaskRun());
$cli->command(new TaskList());
$cli->command(new TaskState());
$cli->command(new SchedulerStart());
$cli->command(new SchedulerStop());
$cli->command(new SchedulerState());
$cli->command(new TaskManagerCommand());
$cli->command(new TaskList());
$cli->command(new MailTest('mail:test'));