A school bus that caught fire in Cary on Thursday afternoon underwent a monthly inspection earlier in the day, according to Wake County Public School System records.