Text this: Resource scheduling algorithm for maintenance planning