I'm starting now with laravel, I put a test project of it along with mongodb on an amazon server, but after that I enter the following unique entry "* * * * * php / path / to / artisan schedule: run > & dev / null 2 > & 1 "in CRONTAB as the excerpt in the laravel documentation about 'scheduling' teaches:
Starting The Scheduler Here's the only Cron entry you need to add to your server: * * * * * php / path / to / artisan schedule: run> > / dev / null 2 > & 1 This Cron will call the Laravel command scheduler every minute. Then, Laravel evaluates your scheduled tasks and runs the tasks that are due.
Here is the code I'm trying to execute ...:
Belowisthe(kernel.php)ofthelaravelthatIeditedtocalleveryminutewhatisinthe"handle" method in the previous print:
However, after all ... my question is: I put the cron entry in the linux crontab program so I can call my laravel, this is how the documentation asks ... but after installing cron with the command I quoted at the beginning of the text, the method I mentioned before (handle) does not execute, nothing happens ... Can anybody help me?