i have report.php file have written sql query, saves .csv file in browser when execute report.php. want report.php file execute automitacally , send .csv file predefined emails. every day, every week , every month. there simple way it...
use cron job execute file use options
* * * * * * \path_to_report.php
inside report.php include function send emails list in database.. can use php pear package..http://pear.php.net/package/mail
Comments
Post a Comment