• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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