Laravel Cron Job Setup In Ubuntu Server
Author: ahmad_dev, Created: 2020-05-31 16:49:15
In order to create a cron job in linux / ubuntu type in the command listed below in cli:
$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