10 lines
No EOL
385 B
Bash
10 lines
No EOL
385 B
Bash
#!/bin/bash
|
|
echo $(date) # Will print the output of date command
|
|
/usr/bin/php82 -v
|
|
/usr/bin/php82 artisan config:clear
|
|
/usr/bin/php82 artisan cache:clear
|
|
/usr/bin/php82 artisan view:clear
|
|
/usr/bin/php82 artisan optimize:clear
|
|
/usr/bin/php82 artisan optimize
|
|
# php /path/to/artisan schedule:run 1>> /dev/null 2>&1
|
|
# cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1 |