added the code to call the url at the scheduled time.