• Hello there 🙂

    first thanks a lof for this awesome plugin!

    Is there a way to control when the daily digest email is going to get send by the MainWP Dashboard?

    I would prefer to receive the daily digest email in the morning.

    is this possible? How can I achive this?

    Thanks & with best regards
    Becki

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Bojan Katusic

    (@bojankatusic)

    Hey @becki

    We have a filter for controlling it. This example will set it to run at 08:30.

    add_filter( 'mainwp_updatescheck_sendmail_at_time', static function () {
    return '08:30';
    } );

    You can use the MainWP Custom Dashboard Extension to apply this filter.

    Thread Starter Becki Beckmann

    (@becki)

    Hi @bojankatusic

    thanks a lot for your reply and pointing me to the proper filter.
    Just added the code snippet to my child theme functions.php
    will let you know if it works in a day or two.

    with best reagards
    Becki

    Plugin Support Bojan Katusic

    (@bojankatusic)

    @becki

    You are most welcome.

    Should it not work as expected, please open a private Help Desk ticket and we will gladly look into it: https://mainwp.com/my-account/get-support/

    Thread Starter Becki Beckmann

    (@becki)

    Hello @bojankatusic

    I had to re-open this support ticket. added the filter to my child theme functions.php

    add_filter( 'mainwp_updatescheck_sendmail_at_time', static function () {
    return '06:30';
    } );

    But do receive the daily digest email each day at 17.30

    ‘General Settings’ Daily Sync Time is set to 06.00
    Frequency of auto sync is once per day
    Use WP Cron is disabled

    But I got a cronjob running each hour: /plugins/mainwp/cron/updatescheck.php

    Cron schedules in mainwp info

    Check for available updates
    mainwp_cronupdatescheck_action
    Once per day
    March 31, 2026 07:30
    March 31, 2026 09:30

    what else do I need to do to get the daily digest email getting send in the morning at 06.30

    thanks a lot
    & please keep up the good work you’re doing!

    with best regards
    Becki

    Plugin Support Bojan Katusic

    (@bojankatusic)

    Hey @becki

    Please open a private help desk ticket so we can examine your setup: https://mainwp.com/my-account/get-support/

    Thread Starter Becki Beckmann

    (@becki)

    Hey @bojankatusic

    thanks again for your reply.

    With the help of ChatGPT AI and analyzing the filter and code base in class-mainwp-system-cron-jobs.php I managed to get things working and the daily digest email now gets send out at 07.00 am.

    I had mainly to do with the frequency of the cronjob /mainwp/cron/updatescheck.php
    Setting the daily sync time in mainwp settings and resetting some mainwp data values in wp_options database table.

    It took MainWP a day or two to get in sync but now the daily digest email is being send in the morning. Hooray 🙂

    thanks for your help
    & please keep up the good work you’re doing

    Best regards
    Becki

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

You must be logged in to reply to this topic.