PUD: determine the best gateway on a regular schedule