Cron job - timed email

I have another customer that asked if there was a way to schedule a job to send a text file in an email every 6 hours to an email address they specify? I know we have the ability to setup cron jobs on the linux web servers, but I’m not sure exactly how we’d send a text file email every 6 hours. Could we cat the text file and pipe it to something like /bin/mail [email protected] -s “Timed Email”

Thanks for any help

it would be best to make a php coded page with phpmailer class or a simple php mail() that is then called by the cron to do this.

would that be using a wget to the web page?

yep use wget to open the page.

Thanks for the help..