UA 5740 then UA 8141 at San Francisco
Medford → San Francisco → Spokane
Timetable, San Francisco time
07:35UA 5740 from Medford at the gate
23:50UA 8141 to Spokane leaves the gate
16 h 15 apart on the timetable
UA 8141 leaves 16 h 15 after UA 5740 arrives on the timetable: more than half a day, so not a connection we count.