调整一下抓取股票的时间
This commit is contained in:
@@ -50,7 +50,7 @@ public class MoneyScraper {
|
||||
private MoneyStockRepository moneyStockRepository;
|
||||
|
||||
@GetMapping("testScraperGetMoneyControlStock")
|
||||
@Scheduled(cron = "0 0 2 */2 * ?")
|
||||
@Scheduled(cron = "0 0 2 */1 * ?")
|
||||
public void schedule(){
|
||||
List<String> letters = new ArrayList<>();
|
||||
for (char c = 'A'; c <= 'Z'; c++) {
|
||||
|
||||
Reference in New Issue
Block a user