I have a async function and need to run in with apscheduller every N minutes. There is a python code below
URL_LIST = [\'\', \'
In your def demo_async(urls), try to replace:
def demo_async(urls)
loop = asyncio.get_event_loop()
with:
loop = asyncio.new_event_loop() asyncio.set_event_loop(loop)