diff --git a/src/main/java/ru/ulstu/grant/service/GrantScheduler.java b/src/main/java/ru/ulstu/grant/service/GrantScheduler.java index d026911..5131227 100644 --- a/src/main/java/ru/ulstu/grant/service/GrantScheduler.java +++ b/src/main/java/ru/ulstu/grant/service/GrantScheduler.java @@ -5,9 +5,6 @@ import org.slf4j.LoggerFactory; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Service; -import java.io.IOException; -import java.text.ParseException; - @Service public class GrantScheduler { private final static boolean IS_DEADLINE_NOTIFICATION_BEFORE_WEEK = true; @@ -34,11 +31,11 @@ public class GrantScheduler { @Scheduled(cron = "0 0 8 * * ?", zone = "Europe/Samara") public void loadGrantsFromKias() { log.debug("GrantScheduler.loadGrantsFromKias started"); - try { - grantService.createFromKias(); - } catch (ParseException | IOException e) { - e.printStackTrace(); - } +// try { +// grantService.createFromKias(); +// } catch (ParseException | IOException e) { +// e.printStackTrace(); +// } log.debug("GrantScheduler.loadGrantsFromKias finished"); } } diff --git a/src/main/resources/templates/papers/paper.html b/src/main/resources/templates/papers/paper.html index 1343b13..9bd1f90 100644 --- a/src/main/resources/templates/papers/paper.html +++ b/src/main/resources/templates/papers/paper.html @@ -77,7 +77,7 @@