• Guten Tag,

    ich m?chte den Newsletter jetzt mit einem eigenen Cronjob über meinen Provider versenden, dies ist leider nicht m?glich!

    Der neu von mir erstellte Cronjob wird alle 5 Minuten von meinem Provider ausgeführt, trotzdem werden keine Newsletter verschickt und es kommt eine Fehlermeldung.

    Wenn ich den Cronjob deaktiviere und über WordPress ausführen lasse, gibt es keine Probleme!

    Woran liegt dass?

    Viele Grüsse

    AW

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi, sorry, I can answer only in English. Translating the request, I understood you have an error: could you report which kind of error?

    Thread Starter monetenfuchs

    (@monetenfuchs)

    Hello,

    i would now like to send the newsletter with my own cron job via my provider, unfortunately this is not possible!

    The new cron job I created is executed by my provider every 5 minutes, but no newsletters are sent and an error message appears.

    If I deactivate the cron job and run it via WordPress, there are no problems!

    What is that about?

    Plugin Author Stefano Lissa

    (@satollo)

    Could you share the error message you get?

    Thread Starter monetenfuchs

    (@monetenfuchs)

    The engine schedule has been skipped. The scheduler is overloaded or a job has fatal error and blocks the scheduler.

    Next run: 5. Februar 2024 2:12, 37098 seconds late

    Plugin Author Stefano Lissa

    (@satollo)

    Ok, that means the WP scheduler is triggered BUT the Newsletter job (used to deliver the newsletters) is not executed. That could happen if another job generates a fatal error (you can find it on the error logs of your server – you may need to ask to the provider). Try to install the plugin wp crontrol and under Tools/Cron events you have the list of the scheduled jobs, it could reveal some useful information.

    Thread Starter monetenfuchs

    (@monetenfuchs)

    hello, wp control shows the following message:

    Arguments: None
    next version: 2024-02-05 12:07:22 36 minutes 8 seconds ago
    action: Newsletter->hook_newsletter()
    Repeat: Every 300 seconds

    also the following note:
    The constant DISABLE_WP_CRON is set to “true”. Calling WP-Cron is disabled.

    Cron events trigger actions in your code. A cron event requires an associated action hook in the code, for example the functions.php file in your theme.

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, that is the only scheduled job? Or at least the first one? The job is 36 minutes late, so… or the wp-cron.php is not called, or another job is consuming all the execution time.

    More rare, check on System/Status and System/Scheduler is the doing cron transient is set, you could have the scheduler locked for some reason.

    Thread Starter monetenfuchs

    (@monetenfuchs)

    Guten Tag,

    ich lasse den Cronjob jetzt über einen Fremdanbieter laufen und es funktioniert. Dafür bekomme ich jetzt diese Meldung:

    PHP Warning: Undefined array key “ne” in /kunden/123456_12345/wp/wp-content/plugins/newsletter/subscription/subscription.php on line 679

    Wie kann ich dies beheben?

    Viele Grüsse

    AW

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, the warning is connected to a subscription missing the email field, probably from a form not correctly built (not the standard forms provided by the plugin since the always have the email field). That warning is not related to the scheduler problem, if the scheduler is not executing the jobs on time it means the wp-cron.php file is not triggered correctly.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Probleme mit dem WordPress-Planer’ is closed to new replies.