1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Email statistics (or link) to client, not report

Discussion in 'Plesk for Linux - 8.x and Older' started by rcharamella, Mar 21, 2006.

  1. rcharamella

    rcharamella Guest

    0
     
    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.
     
  2. realaaa@

    realaaa@ Basic Pleskian

    23
    70%
    Joined:
    Mar 16, 2006
    Messages:
    67
    Likes Received:
    0
    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: User@server.com
    from: PleskAdmin@server.com
    subject: link to monthly report

    hello, bla bla bla
     
Loading...