Real-Time Scheduling on Dynamic Resources in a Fog Computing Environment