How to download a report using scheduled job(cron)

Hello Everyone,

I have created a custom scheduled job, inside custom job function i want to download a report in csv format, I have an URL of that report.

Report does creates in sugar report module only.

I have report URL like:  https://abcdefg.sugarondemand.com/#bwc/index.php?module=Reports&action=DetailView&record=abcdefg

after completion of above process i want to send an email to user with this report attached, using cron job (scheduler)

How i can achieve this.

Thanks in Advance