Support the ongoing development of Laravel.io →
posted 8 years ago
Queues
Last updated 2 years ago.
0

laravel has a scheduler https://laravel.com/docs/5.3/scheduling

you can run a scheduler task to accomplish what you need.

0

Yeah, I know about that. But somehow jobs feel cleaner to use in this case, especially for the reason, that these tasks should only run once, at a given time, not on a schedule. Is my solution any worse than using the scheduler?

0

yep, my idea is to run a cron: take all the events matching the date range, dispatch jobs/job to process them. the jobs will run in the background and exit when done.

rmugunda liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

traubisoda traubisoda Joined 24 Mar 2016

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.