• Resolved tlozano

    (@tlozano)


    Thanks for your plugin. I’ve been using it and it works very well.
    I have a scheduled daily email with statistics, but this email is sent every day at 8:00 AM, so it doesn’t show the day’s statistics properly (it’s only been 8 hours). Is it possible to schedule this email to be sent, for example, at 11:50 PM? Or to show the comparison between yesterday and the day before yesterday in the statistics. Thank you so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @tlozano,

    Thank you for your kind words and for using our plugin — we’re glad to hear it’s working well for you.

    Currently, it’s not possible to change the default time the report email is sent via the plugin settings.

    However, there are two possible workarounds you can try:

    1. Display yesterday’s statistics in the report
    Since the email is sent early in the morning, you can adjust the shortcode used in the report to show data from the previous day.
    For example, use this shortcode:
    [wpstatistics stat=visitors time=yesterday]
    This way, the report will always include full data from the day before.

    2. Manually adjust the report schedule
    You can use the WP Crontrol plugin to edit the time the report is sent.
    After installing it, go to Tools > Cron Events,
    Search for the hook called wp_statistics_report_hook,
    Click on Edit,
    Then update the Next Run time to your preferred hour (e.g., 11:50 PM), and save the changes.

    Let us know if you need help with any of the steps above — we’re happy to assist.

    Thanks again for reaching out!

    Warm regards,
    Mehmet

    Thread Starter tlozano

    (@tlozano)

    Thank you, I’ll try the option 2.

    Hi @tlozano,

    Since some time has passed and we haven’t heard back from you regarding this ticket,
    we will mark it as resolved for now.

    If you still need assistance, please feel free to reply and we’ll reopen the ticket.

    Best regards,
    Mehmet

    Thread Starter tlozano

    (@tlozano)

    Sorry, I forgot to answer. Option 2 works perfectly. Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Can the report email sending time be changed?’ is closed to new replies.