Trim failed history after 30 days
Mark failed from web interface