I change my shifting cables every 5000-6000 miles. I have removed them and found a few strands already broken and frayed.
This is a good time then to relube the inside of the cable housing. I have replaced cables and found them to be rusted inside the housing and not sliding very smoothly.