|
|
@@ -15,6 +15,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.core.ParameterizedTypeReference;
|
|
|
import org.springframework.http.HttpMethod;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
@@ -39,7 +40,7 @@ public class SonarSchedule {
|
|
|
@Autowired
|
|
|
private RestTemplate restTemplate;
|
|
|
|
|
|
- // @Scheduled(cron = "00 00 00 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 2 * * ? *")
|
|
|
@DataExtractor(source)
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void coderSoanrDataExtraction() throws Exception {
|