From 20c9b8fd07bdd8150a7f9494996ff3e4c8065a11 Mon Sep 17 00:00:00 2001 From: Johannes Wachter Date: Sat, 15 Oct 2016 13:53:55 +0200 Subject: [PATCH] changed usage of task-builder --- src/Command/ScheduleTaskCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/ScheduleTaskCommand.php b/src/Command/ScheduleTaskCommand.php index 063ecda..837919c 100644 --- a/src/Command/ScheduleTaskCommand.php +++ b/src/Command/ScheduleTaskCommand.php @@ -83,6 +83,6 @@ protected function execute(InputInterface $input, OutputInterface $output) $taskBuilder->executeAt(new \DateTime($executionDateString)); } - $this->scheduler->addTask($taskBuilder->getTask()); + $taskBuilder->schedule(); } }