On October 9, 2006 at 6:00 a.m., the network switched to a 24-hour schedule, becoming one of the last major English-language broadcasters to transition to such a schedule. Most CBC-owned stations previously signed off the air during the early morning hours (typically from 1:00 a.m. to 6:00 a.m.). Instead of the infomercials aired by most private stations, or a simulcast of CBC News Network in the style of BBC One's nightly simulcast of BBC News Channel, the CBC uses the time to air repeats, including local news, primetime series, movies and other programming from the CBC library. Its French counterpart, Ici Radio-Canada Télé, still signs off every night. 

Until 1998, the network carried a variety of American programs in addition to its core Canadian programming, directly competing with private Canadian broadcasters such as CTV and Global. Since then, it has restricted itself to Canadian programs, a handful of British programs, and a few American movies and off-network repeats. Since this change, the CBC has sometimes struggled to maintain ratings comparable to those it achieved before 1995, although it has seen somewhat of a ratings resurgence in recent years. In the 2007-08 season, hit series such as Little Mosque on the Prairie and The Border helped the network achieve its strongest ratings performance in over half a decade.
Was the station doing well before then?
struggled