2020-12-21 17:12:10 +01:00
|
|
|
package com.plannaplan.services;
|
|
|
|
|
2020-12-23 11:51:17 +01:00
|
|
|
// import org.springframework.beans.factory.annotation.Autowired;
|
2020-12-21 17:12:10 +01:00
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
@Service
|
|
|
|
public class EventService {
|
|
|
|
|
2020-12-23 11:51:17 +01:00
|
|
|
// @Autowired
|
|
|
|
// private EmailService emailService;
|
2020-12-21 17:12:10 +01:00
|
|
|
|
|
|
|
@Scheduled(cron = "0 2 17 * * *")
|
|
|
|
public void collectGroupLosses() {
|
|
|
|
System.out.println("Checking for groups");
|
|
|
|
}
|
|
|
|
}
|