I’m setting up a Cron Job for my laravel Schedule in CpaneL but it's not working. Please, i need help on how to do schedule:run in cPanel Cron Job.
This is what i have tried in cPanel Cron Job
/usr/local/bin/php7 /home/cattonli/public_html/artisan schedule:run >> /dev/null 2>&1
php artisan schedule:run works fine offline, but i can't get it to work offline.
ls -l /home/cattonli/public_html/artisan
and check the file permissions. check linuxcommand.org/lc3_lts0090.php to learn more about permissions. - Ben Sholdice