简体   繁体   中英

Adding laravel cronjob in hosting server using cpanel

如何使用cpamel在托管服务器中添加新的laravel cronjob?

至于我正在使用 laravel 5.4,经过几天的研究,namecheap 托管和您的问题/答案帮助了我,这就是我最终使用的有效方法

/usr/local/bin/php /home/username/separatefolder/artisan schedule:run >> /dev/null 2>&1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM