Z230
This commit is contained in:
@@ -237,6 +237,18 @@ def main():
|
|||||||
""")
|
""")
|
||||||
requests_to_process = cur.fetchall()
|
requests_to_process = cur.fetchall()
|
||||||
|
|
||||||
|
# =================================
|
||||||
|
# ⏩ SKIP FIRST 3100 AS YESTERDAY
|
||||||
|
# =================================
|
||||||
|
|
||||||
|
SKIP = 3100
|
||||||
|
if len(requests_to_process) > SKIP:
|
||||||
|
print(f"⏩ Skipping first {SKIP} pozadavky (already processed yesterday).")
|
||||||
|
requests_to_process = requests_to_process[SKIP:]
|
||||||
|
else:
|
||||||
|
print("⚠️ Not enough pozadavky to skip!")
|
||||||
|
|
||||||
|
|
||||||
print(f"📋 Requests to process: {len(requests_to_process)}\n")
|
print(f"📋 Requests to process: {len(requests_to_process)}\n")
|
||||||
|
|
||||||
# ---- Process each request
|
# ---- Process each request
|
||||||
|
|||||||
Reference in New Issue
Block a user