Commit 7011aa88 authored by Quxl's avatar Quxl

x

parent 90cb24a6
...@@ -33,8 +33,13 @@ public class PdsProductsUpdateTask { ...@@ -33,8 +33,13 @@ public class PdsProductsUpdateTask {
@Value("${pds.url_query}") @Value("${pds.url_query}")
private String urlQuery; private String urlQuery;
@Value("${pds.cron.products_download}")
private String cron;
@Scheduled(cron="${pds.cron.products_download}") @Scheduled(cron="${pds.cron.products_download}")
public void execute() { public void execute() {
System.out.println("PdsProductsUpdateTask RUN " + cron);
boolean boo = true; boolean boo = true;
int loopCount = 0; int loopCount = 0;
while(boo) { while(boo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment