|
|
Article » Automatic Weekly Emails - Setup and Requirements
To enable the weekly mailout, you just need: cron and the ability to run PHP from the command line, or alternatively, wget
Some examples of cron entries to send the weekly emails at 11:59PM every Sunday:CODE:
59 23 * * 0 php /home/countercode/www/stats_mail.php
or
59 23 * * 0 wget http://www.countercode.com/stats_mail.php
You can see the Installation Instructions for more information about this.
The content of the email can also be customised by modifying the stats_mail_header.txt and stats_mail_footer.txt header/footer files.
|
|