7 lines
No EOL
304 B
Bash
7 lines
No EOL
304 B
Bash
#!/bin/bash
|
|
echo $(date) # Will print the output of date command
|
|
/usr/bin/php74 -v
|
|
/usr/bin/php74 ../artisan business:store 0 0 2>&1
|
|
/usr/bin/php74 ../artisan user:cleanup 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 |