Исправление рейтинговой системы
This commit is contained in:
parent
dad18d396a
commit
7b56cd72a2
@ -32,8 +32,7 @@ public class RatingScheduler {
|
|||||||
ratingService.ratingRecalculation();
|
ratingService.ratingRecalculation();
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Scheduled(cron = "0 20 8 * * MON-FRI")
|
@Scheduled(cron = "0 20 8 * * MON-FRI")
|
||||||
@Scheduled(cron = "0 */1 * * * *")
|
|
||||||
private void goodMorningRating() {
|
private void goodMorningRating() {
|
||||||
List<Person> allRegister = personService.getAllRegister();
|
List<Person> allRegister = personService.getAllRegister();
|
||||||
for (Person person : allRegister) {
|
for (Person person : allRegister) {
|
||||||
|
Loading…
Reference in New Issue
Block a user