I have a Mac Mini Server that's disconnecting every few days or so from the wifi network. There may be other parameters causing the initial disconnection (such as the wireless router being rebooted) but the Mac doesn't automatically reconnect.
It's a major problem since it's a server machine that's suddenly becomes unavailable until someone goes to the machine physically and uses the wifi menu to reconnect manually to the network. I should mention that although the wifi network is WPA2, manually reconnecting doesn't involve re-entering the password so there's no obvious reason why it doesn't reconnect automatically.
How can I get the Mac to periodically try and reconnect to a specified wifi network?