You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we need to retrieve the latest version via issueing a sparql query to determine the file link of the most recent file.
then we can proceed.
open question is also whether the while loop is the way to go. copilot says its common but usually there is an asyncio for it.
Dunno for sure but in the end the sleep should not block other parts of the code.
import asyncio
import schedule
def job():
print("Task is running...")
# Schedule the job every 10 seconds
schedule.every(10).seconds.do(job)
async def run_scheduler():
while True:
schedule.run_pending()
await asyncio.sleep(60)
async def main():
await run_scheduler()
if __name__ == "__main__":
asyncio.run(main())
The text was updated successfully, but these errors were encountered:
at the moment download function uses a static version
kuefmz@5a4c00a#diff-8ff9d079ad7f2b51ed3c75fb7cccb753ce68f6d0e9fdac46a7e4cbf0003da73dR17
we need to retrieve the latest version via issueing a sparql query to determine the file link of the most recent file.
then we can proceed.
open question is also whether the while loop is the way to go. copilot says its common but usually there is an asyncio for it.
Dunno for sure but in the end the sleep should not block other parts of the code.
The text was updated successfully, but these errors were encountered: