• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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