a scheduler hooked up to a flask