vendredi 1 juin 2018

How can I schedule the pinging of routes within my application

In my Laravel 5.6 project, I have a couple of routes that perform several complex tasks such as scrapping and database insertions. I've already set up my cronjob to go into my project folder and I've located my Kernel file but I'm stuck on how to invoke calls to various routes.

Which is the best way to do a scheduled task that pings several routes sequentially i.e. one has to complete execution before proceeding to the next one.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire