diff --git a/src/Command/CleanupCommand.php b/src/Command/CleanupCommand.php index 323fe71..fcb0eb5 100644 --- a/src/Command/CleanupCommand.php +++ b/src/Command/CleanupCommand.php @@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\KernelInterface; class CleanupCommand extends Command { - protected static $defaultName = 'cleanup'; + protected static $defaultName = 'webcron:cleanup'; protected $kernel; protected $doctrine; diff --git a/src/Command/DaemonCommand.php b/src/Command/DaemonCommand.php index 28fe47d..66931d6 100644 --- a/src/Command/DaemonCommand.php +++ b/src/Command/DaemonCommand.php @@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\KernelInterface; class DaemonCommand extends Command { - protected static $defaultName = 'daemon'; + protected static $defaultName = 'webcron:daemon'; protected $kernel; protected $doctrine; diff --git a/src/Command/DemoInstallCommand.php b/src/Command/DemoInstallCommand.php index 8e81d94..a148932 100755 --- a/src/Command/DemoInstallCommand.php +++ b/src/Command/DemoInstallCommand.php @@ -17,7 +17,7 @@ use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface; class DemoInstallCommand extends Command { - protected static $defaultName = 'install:demodata'; + protected static $defaultName = 'webcron:demodata'; protected $kernel; protected $doctrine; protected $passwordHasher; @@ -33,8 +33,8 @@ class DemoInstallCommand extends Command protected function configure() { $this - ->setDescription('Run a single cronjob') - ->setHelp('This command runs a single command'); + ->setDescription('Install demo data') + ->setHelp('This command installs the demo data'); } protected function execute(InputInterface $input, OutputInterface $output) diff --git a/src/Command/MailFailedRunsCommand.php b/src/Command/MailFailedRunsCommand.php index 4bc2985..52a8ea6 100644 --- a/src/Command/MailFailedRunsCommand.php +++ b/src/Command/MailFailedRunsCommand.php @@ -20,7 +20,7 @@ use Twig\Environment; class MailFailedRunsCommand extends Command { - protected static $defaultName = 'mail-failed-runs'; + protected static $defaultName = 'webcron:mail-failed-runs'; protected $kernel; protected $doctrine; protected $templating; diff --git a/src/Command/RunCommand.php b/src/Command/RunCommand.php index 2563233..1bd3fa6 100755 --- a/src/Command/RunCommand.php +++ b/src/Command/RunCommand.php @@ -12,7 +12,7 @@ use Symfony\Component\HttpKernel\KernelInterface; class RunCommand extends Command { - protected static $defaultName = 'run'; + protected static $defaultName = 'webcron:run'; protected $kernel; protected $doctrine;