update
This commit is contained in:
parent
3285b85af7
commit
a91b8e72ff
|
@ -8,7 +8,7 @@ def delete_data_3_days_ago():
|
|||
try:
|
||||
# 计算3天前的日期并转化为数据库格式
|
||||
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:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue