Laravel Cron Job Setup In Ubuntu Server

  • Created: 12-05-2019
  • Posted By: Safina

$crobtab -e

//copy ( * * * * * php /var/www/to/artisan schedule:run 1>> /dev/null 2>&1) to end of file

$sudo service cron restart

//check if cron is running , (see last 3 rows)

$sudo grep -i cron /var/log/syslog|tail -3

Tags:

Post Comments