Skip to content

Commit

Permalink
Merge branch '4.4' into 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Mar 14, 2021
2 parents cc43b5b + cdedfdd commit e8bf505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/CreateQueuedJobTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function run($request)
$now = DBDatetime::now()->getTimestamp();
if ($start >= $now) {
$friendlyStart = DBDatetime::create()->setValue($start)->Rfc2822();
echo "Job " . $request['name'] . " queued to start at: <b>" . $friendlyStart . "</b>";
echo 'Job queued to start at: <b>' . $friendlyStart . '</b>';
QueuedJobService::singleton()->queueJob($job, $start);
} else {
echo "'start' parameter must be a date/time in the future, parseable with strtotime";
Expand Down

0 comments on commit e8bf505

Please sign in to comment.