Hi artist,
How is your medication prescribed? If the Xanax is 3 times a day, you could take it at 0700- 1500 - 2300. That would cover 8 hour intervals around the clock.
Good luck and keep us posted.