Answers for "* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1"

PHP
0

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

// Setting Cron in AWS
// type command "crontab -e" and paste the below formatted line
* * * * * /pathToYourPhp /pathToArtisan/artisan schedule:run >> /dev/null 2>&1
// for example * * * * * /usr/bin/php7.4 /var/www/html/testproject/artisan schedule:run >> /dev/null 2>&1
Posted by: Guest on May-21-2021

Code answers related to "* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1"

Browse Popular Code Answers by Language