I was always told (and I don't know whether it's correct), that it's better to have it on all day to produce a consistent ambient temperature, rather than firing it up and down.
But, of course, we're being told we shouldn't have gas boilers now anyway, and that what we should in fact be doing to spending between £10,000 and £15,000 in having an heat pump fitted.