Исправление рейтинговой системы

This commit is contained in:
upagge 2020-10-24 12:46:05 +03:00
parent dad18d396a
commit 7b56cd72a2
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34

View File

@ -32,8 +32,7 @@ public class RatingScheduler {
ratingService.ratingRecalculation();
}
// @Scheduled(cron = "0 20 8 * * MON-FRI")
@Scheduled(cron = "0 */1 * * * *")
@Scheduled(cron = "0 20 8 * * MON-FRI")
private void goodMorningRating() {
List<Person> allRegister = personService.getAllRegister();
for (Person person : allRegister) {