Rotate artisan inside shell script linux

0

How do I make a linux shell script to run a laravel artisan command?

ex: php artisan migrate

but create a script to run this command

    
asked by anonymous 14.12.2018 / 02:52

1 answer

1

Would it be something like this you need?

#!/bin/bash

/usr/bin/php /pasta/root/projeto/artisan cache:clear
    
15.12.2018 / 04:57