Laravel Schedule Frequency Options Do Not Work

Asked

Viewed 72 times

1

I’m having trouble running Cron commands on Laravel 5.5, executes the command only every minute, not obeying the frequency options as 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?

  • Put the whole class

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.