I am trying to know which user has cron jobs on our server.
I tried to read from the jobs table the user's id. It worked but there should be a cleaner way than using LIKE on a big chunk.
My first thought is when creating a job I should add a row in a many-to-many relationship between the user's id and the job's id.
Is there a more efficient way of handling such a scenario? There is not much code I can add because I need to understand how to tackle this.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/ZdH24Rl
via IFTTT
Aucun commentaire:
Enregistrer un commentaire