Answer the question
In order to leave comments, you need to log in
Why does laravel scheduler run code every minute?
Why does laravel scheduler run code every minute?
Used it like that
$schedule->call(FeedBackController::exportFullReport())->cron('*/5 * * * *');
$schedule->call(FeedBackController::exportFullReport())->everyFiveMinutes();
Answer the question
In order to leave comments, you need to log in
$schedule
->call(
function () {
FeedBackController::exportFullReport();
}
)
->everyFiveMinutes();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question