Make tasks for updating from the radar server

This commit is contained in:
April
2022-11-13 16:41:51 -07:00
parent ce51e37e7f
commit 175ab43039
2 changed files with 28 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ async def createTemp():
async def main():
await createTemp()
mosaicTask = asyncio.create_task(RecordTasks.updateMosaicTask())
satradTask = asyncio.create_task(RecordTasks.updateSatradTask())
alertsTask = asyncio.create_task(RecordTasks.alertsTask())
coTask = asyncio.create_task(RecordTasks.coTask())
hfTask = asyncio.create_task(RecordTasks.hfTask())
@@ -71,5 +73,9 @@ async def main():
await tTask
await wnTask
if useRadarServer:
await mosaicTask
await satradTask
if __name__ == "__main__":
asyncio.run(main())