Skip to content

Commit

Permalink
Fix schedule error
Browse files Browse the repository at this point in the history
  • Loading branch information
ellermister committed Jan 31, 2025
1 parent 306d426 commit 4989a3b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@

Schedule::call(function () {
Artisan::call('app:update-fav');
})->withoutOverlapping()
->everyFiveMinutes();
})
->name('update-fav')
->withoutOverlapping()
->everyTenMinutes();

Schedule::call(function () {
Artisan::call('app:download-video');
})->withoutOverlapping()->everyFiveMinutes();
})
->name('download-video')
->withoutOverlapping()
->everyTenMinutes();

Schedule::call(function () {
Artisan::call('app:download-danmaku');
})->withoutOverlapping()->everyOddHour();
})
->name('download-danmaku')
->withoutOverlapping()
->dailyAt('00:00');

0 comments on commit 4989a3b

Please sign in to comment.