How to Plan for Both Reactive and Proactive Maintenance