Skip to content

Commit 82027f4

Browse files
committed
fix: add warning when running TimedJob using backgroun-job:worker
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
1 parent 979bd67 commit 82027f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/Command/Background/JobWorker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
119119
continue;
120120
}
121121

122+
$output->writeln('<comment>Job ' . $job::class . ' is a TimedJob, this command is designed to run QueuedJob.</comment>');
122123
$output->writeln('Running job ' . get_class($job) . ' with ID ' . $job->getId());
123124

124125
if ($output->isVerbose()) {

0 commit comments

Comments
 (0)