jeudi 19 juillet 2018

Laravel Cron Jobs Deployment Issues

I have laravel code running multiple cron jobs after every 5 minutes, say like 15 cron jobs every 5 minutes.

Lets say I have a need to deploy the code which also involved the database changes and off-course need migrations to be executed and this also impacts the cron jobs as those are used to make updates to the database tables being required to be changed in migration.

In this situation whats the best way to deploy the code such that we pull from a git and then execute the migrations.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire