diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/Commands/Cronjobs/CronjobList.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/Commands/Cronjobs/CronjobList.php b/cli/Commands/Cronjobs/CronjobList.php index af4913d..4afa637 100644 --- a/cli/Commands/Cronjobs/CronjobList.php +++ b/cli/Commands/Cronjobs/CronjobList.php @@ -27,6 +27,9 @@ class CronjobList extends Command $table->setStyle('compact'); $table->setHeaders(['Task-ID', 'Description']); foreach ($tasks as $task) { + if (!class_exists($task->class)) { + continue; + } $description = call_user_func(['\\' . $task->class, 'getDescription']); if ($description) { $table->addRow([$task->id, $description]); |
