=>get details from ebay_ec_task_id table(reports db) whose fetch_status(column) is 0. =>generate token using ebay client id, client secret, refreshtoken an druName. =>using taskid fro Reports.`ebay_ec_task_id` and API, get status of task. =>using taskId and another API,download result file, which shows reasons for success or error in details =>Mail the results. =>Update fetch_staus=1 in ebay_ec_task_id table(reports db).