Skip to content

Instantly share code, notes, and snippets.

Created May 18, 2020 06:47
What would you like to do?
Create a scheduler
def sample_job_every_120s():
weather_response = get_weather_data()
air_pollution_data = get_air_pollution_data()
insert_to_mongo(weather_response, air_pollution_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment