|
@@ -15,7 +15,7 @@ def func_run():
|
|
|
except Exception as e:
|
|
|
print(e)
|
|
|
try:
|
|
|
- for days in range(-3,-63,-1): #(-2,-12,-1):
|
|
|
+ for days in (-2,-12,-1): #range(-3,-63,-1):
|
|
|
conn = sp_api_client.SpApiRequest.Data_auth()
|
|
|
cursor = conn.cursor()
|
|
|
delete_date = (datetime.now() + timedelta(days=days-7)).strftime("%Y-%m-%d")
|