sqlalchemy model for periodic checks