Browse Source

fix: add warning when running TimedJob using backgroun-job:worker

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
fix/49584-background-worker-remove-interval
Salvatore Martire 3 months ago
parent
commit
0b390e3ea0
  1. 1
      core/Command/Background/JobWorker.php

1
core/Command/Background/JobWorker.php

@ -119,6 +119,7 @@ class JobWorker extends JobBase {
continue;
}
$output->writeln('<comment>Job ' . $job::class . ' is a TimedJob, this command is designed to run QueuedJob.</comment>');
$output->writeln('Running job ' . get_class($job) . ' with ID ' . $job->getId());
if ($output->isVerbose()) {

Loading…
Cancel
Save