This commit is contained in:
xyj 2023-12-11 17:48:09 +08:00
parent 3285b85af7
commit a91b8e72ff
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ def delete_data_3_days_ago():
try: try:
# 计算3天前的日期并转化为数据库格式 # 计算3天前的日期并转化为数据库格式
end_time = int((datetime.datetime.now() - datetime.timedelta(days=3)).timestamp()) end_time = int((datetime.datetime.now() - datetime.timedelta(days=3)).timestamp())
d = delete_kb_detail_by_time(end_time) delete_kb_detail_by_time(end_time)
except Exception as e: except Exception as e:
pass pass