version with manifest

master
Katerina 2 years ago
parent 110a9c7c8b
commit 704dfc6c94

@ -88,6 +88,13 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>eu.dnetlib.dnetexploremetrics.DnetExploreMetricsApplication</mainClass>
</configuration>
</plugin>
</plugins>
</build>

@ -40,8 +40,8 @@ public class MetricsService {
" or reldatasourcecompatibilityid exact hostedBy or relproject=*))&type=organizations&size=0&format=json";
@Scheduled(cron = "0 0/1 * * * *")
//@Scheduled(cron = "0 0 0 * * ?")
//@Scheduled(cron = "0 0/1 * * * *")
@Scheduled(cron = "0 0 0 * * ?")
private void calculateMetrics() {
logger.info("Calculating metrics...");
Metrics metrics = new Metrics();

Loading…
Cancel
Save