Support the ongoing development of Laravel.io →
Configuration

I have a system that I am using the task scheduler for. I am working on scaling out and having multiple servers behind a load balancer. Some tasks I want to be performed on every server, but other tasks are database management tasks that should only be executed once.

I am wondering if anyone knows if there is a package that can manage this or if I just need to build in my own overlap prevention code (thinking of possibly extending the scheduler to have a call similar to withoutOverlapping() that manages who is currently running the command via a database table).

Last updated 3 years ago.
0

Hello.

I am also interested. Any way to achieve this?

0

i think it's better to write your own script calling over a private IP, to do this than to use Laravel.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jdavidbakr jdavidbakr Joined 28 Jul 2015

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.

© 2025 Laravel.io - All rights reserved.