Maintenance scheduling in risk assessment procedures