📜  laravel 调度运行 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:43.499000             🧑  作者: Mango

代码示例2
// Settng 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