1
I am following the documentation of the Standard to create a Scheduler, but I’m having difficulty. Someone could give a light?
In that command:
php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1
I understand that the path-to-your-project
would be the path of my project, in other words, I could enter the project folder and run only the php artisan schedule:run >> /dev/null 2>&1
, right?
But the terminal informs that the path does not exist.
The path of my project is c:\projetos\marcelo\painel
and that’s even where the Artisan archive is.
I believe it’s the direction to
/dev/null
the problem. Try not to direct to any corner. The null path used is a standard in the Unix world, not in Windows.– Jefferson Quesado
What version of the Laravel?
– Luiz Gustavo Costa Ceolin
I was able to solve by removing the path and leaving it until the 'run'. Thanks guys! The Laravel q use is the 5.3
– hisoka