Laravel Schedule Frequency Options do not work

1

I'm having trouble with Cron running commands in Laravel 5.5 , run the command only every minute, not following the frequency options like every 5 minutes.

Example:

$schedule->command('create:log')->everyFiveMinutes();

My cron is like this:

* * * * * php /var/www/html/Test/artisan create:log >> /dev/null 2>&1

Does anyone know what it can be?

    
asked by anonymous 03.11.2017 / 00:26

1 answer

0

The command described in the documentation is :

* * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1

in your case :

* * * * * php /var/www/html/Test/artisan schedule:run >> /dev/null 2>&1

Reference link

    
03.11.2017 / 01:48