• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Email statistics (or link) to client, not report

R

rcharamella

Guest
I was wondering if there is a way to setup an automated email of statistics or a link to statistics for a particular site within plesk. I see that we can automate sending of the report, but my client is more concerned with total site views and referrers that the report doesn't talk about.

Any ideas would be greatly appreciated.
 
You can just add another command to servers crontab, that will send out links to your client(s) - the main point here is that it should be done after statistics utility which does all calculations, say statistics runs at 4.07 a.m., so you can send out links at 5 a.m.

This can be done either from shell or in Server -> Crontab.

Another question here is how you will do that, but that's another story and is not related to Plesk.

Probably you'll need to use sendmail or qmail-inject to send out messages, f.e. with qmail-inject:

This command sends message:

# cat msg | /var/qmail/bin/qmail-inject

This is what file contains:

# cat msg
to: [email protected]
from: [email protected]
subject: link to monthly report

hello, bla bla bla
 
Back
Top