#!/bin/bash echo $(date) # Will print the output of date command /Applications/MAMP/bin/php/php7.4.33/bin/php -v /Applications/MAMP/bin/php/php7.4.33/bin/php ../artisan business:store 0 0 2>&1 /Applications/MAMP/bin/php/php7.4.33/bin/php ../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