Forum Moderators: coopster
I was curious if this is possible. I need to make a script for our website that emails me everyday on certain statistics regarding our website. I was curious if there is a way that I can create this script to automatically email me every morning with the previous days statistics. I thought I remember seeing something similar to Linux's Crontab except it was a PHP version.
Has anyone had any experience with created an automated PHP emailer?
Thanks in advance for your help :)
Wes
I have a cron line like so
31 9 * * 1,2,3,4,5 /usr/local/bin/php /example/crons/get_conversion_rate.php &
that runs at 931am monday to friday
the script itself just pulls rates from a bank, updates a db, logs some values and emails me the new rates. I can't post it though sorry, it would take hours to get all of the specifics out. It just uses a regular old mail() call to send the email.