Straight through with no stopping Highway 5, about 8-9 hours. In reality, you ll be stopping for gas, food and stretching, so add at least an hour to that.
I think Cathedral City must be in the Palm Springs area. If you drive straight through it should take 10 hours.