Cloud based Resource Scheduling Methodology for Data-Intensive Smart Cities and Industrial Applications