not going potty

Dad dog is like the stubbornest little things, she don’t wanna go potty outside she thinks the apartment is her bathroom. The foster home had her on a every 2 hour schedule well that don’t work for 2 working people and one who barely can walk. It’s dad dog but Hubby and I end up walking her for dad and making sure she has foods. I do not mind doing that, it don’t bother me, but every 2 hours isn’t something I can do. I took her out when I got home around noon and she went pee that’s good then she told me she needed to go outside at 5 so I took her outside and she did nothing. I had her out for close to a half hour, that should be long enough to go potty but she refused. So tonight I will not take her out until 10pm and she just have to wait if she wants to go later. I am trying to get her on a schedule which works with my work schedule and hubbies schedule.
I need the dog to learn she does not have a half hour of time especially in the morning because I know I do not have that long since I have to be to work. What I will probably do is take her out a hr before I have to leave and then get myself ready for work. Lately she been getting possive over the apartment and me when I am walking her and that’s not a good thing. She seems to act up more with men then with woman.