8 lines
No EOL
390 B
Bash
8 lines
No EOL
390 B
Bash
#!/bin/bash
|
|
echo $(date) # Will print the output of date command
|
|
/Applications/MAMP/bin/php/php7.3.33/bin/php -v
|
|
/Applications/MAMP/bin/php/php7.3.33/bin/php ../artisan business:store 0 0 2>&1
|
|
#/usr/bin/php74 -v
|
|
#/usr/bin/php74 ../artisan business:store 0 0 2>&1
|
|
# php /path/to/artisan schedule:run 1>> /dev/null 2>&1
|
|
# cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1 |