For me, a writing schedule is a must. Otherwise, I'd get nothing done.
My writing schedule is based on a daily word goal rather than hours per day. I've tried it both ways but this works best for me. Sometimes I reach my goal early and I can move on to research, more writing (if I'm in a groove), or non-writing tasks like paying bills and walking the dog.