This commit is contained in:
DingZQ
2025-03-19 22:41:02 +08:00
parent db4718e72b
commit 442dab54da

View File

@@ -31,4 +31,8 @@ def auto_cache_data():
query_all_records_by_date_with_type_link(str_prev_day)
if __name__ == "__main__":
auto_cache_data()
schedule.every().day.at("03:00").do(auto_cache_data)
while True:
schedule.run_pending()
time.sleep(1)