procedure for writing schedule added.
updateschedule will update schedule like a cron job and write in srm.json.Getschedule is using schedule from conf/srm.json.