changes in shedulewriteplatformService

1)changes in middleware job