Jun 26, 2023
0
Level 1
Laravel Task Scheduling in Multi-tenant app and dynamic schedules
So, I've a multi-tenant SaaS app and each tenant have it's own dynamic scheduled commands (Client can even change time of execution) When I iterate all tenants in Kernel file and it loops over all tenants > and then their dynamic scheduled commands to match time against each command of each tenant It skips some commands of some tenants Maybe because it has to check time for all commands within 60 seconds and it's not able to do that for hundreds of tenants and 10-12 commands against each tenant. So what's the best way to fix this? I highly appreciate your help
Please or to participate in this conversation.