Hi, sorry, I can answer only in English. Translating the request, I understood you have an error: could you report which kind of error?
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?
Could you share the error message you get?
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
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.
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.
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.
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
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.