📜  共享主机上的 laravel cron 作业 - PHP 代码示例

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

代码示例1
/**
Make a laravel schedule in normal process and create cronjob like this format

Format:
**/
/usr/local/bin/php /home/hosting_user/public_html/artisan schedule:run >> /dev/null 2>&1

//example:
/usr/local/bin/php /home/harun/public_html/artisan schedule:run >> /dev/null 2>&1

// more details: http://bit.ly/laravel-scheduler