adding cron

1.crontab -e enter and edit documents
2. Add a line: * * * * * / usr / local / php / bin / php / data / wwwroot / article-service / artisan schedule: run >> / dev / null 2> 1 &
3.tail -f / var / log / cron view the current task to perform live

Guess you like

Origin www.cnblogs.com/qaing123/p/11497878.html