Support the ongoing development of Laravel.io →
Jobs Horizon Laravel
0
moderator

Hello @singleseeker tinker is a special case :)

From the docs https://laravel.com/docs/11.x/artisan#usage

The dispatch helper function and dispatch method on the Dispatchable class depends on garbage collection to place the job on the queue. Therefore, when using tinker, you should use Bus::dispatch or Queue::push to dispatch jobs.

You can test it by writing a temporary route where you place the dispatch call to see your logs.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.