The long-time behaviour of solutions to parabolic problems on unbounded intervals: the influence of boundary conditions