调整一下抓取股票的时间

This commit is contained in:
gs
2024-02-15 23:02:45 +08:00
parent d15535bf9b
commit 3e0d209b34
3 changed files with 110 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ public class MoneyScraper {
private MoneyStockRepository moneyStockRepository;
@GetMapping("testScraperGetMoneyControlStock")
@Scheduled(cron = "0 0 2 */1 * ?")
//@Scheduled(cron = "0 0 2 */1 * ?")
public void schedule(){
List<String> letters = new ArrayList<>();
for (char c = 'A'; c <= 'Z'; c++) {