Refine
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user