I created a cron trigger for multisite with a script.
Checked if this worked, newsletter has also been detected see example
<pre>Starting at Fri, 04 Mar 2022 14:03:55 +0100 1 of 2) Processing: [https://www.mysite.com/] cron: [Executed the cron event 'newsletter' in 0.016s. Executed the cron event 'wp_privacy_delete_old_export_files' in 0.001s. Success: Executed a total of 2 cron events.] <br/>2 of 2) Processing: [https://www.mysite.com/nl/] cron: [Executed the cron event 'newsletter' in 0.009s. Executed the cron event 'wp_privacy_delete_old_export_files' in 0.002s. Executed the cron event 'wpo_smush_clear_backup_images' in 0.001s. Success: Executed a total of 3 cron events.] <br/>Finished at Fri, 04 Mar 2022 14:03:58 +0100 </pre>
Then set up a cron job for every 5 minutes
This is being carried out, see email confirmation:
<pre>Starting at Fri, 04 Mar 2022 12:50:02 +0100 Finished at Fri, 04 Mar 2022 12:50:02 +0100 </pre>
In WP Config I disabled cron with: define( ‘DISABLE_WP_CRON’, true)
However, I get a message: The engine schedule is late. You probably need and external scheduler trigger.
I did the – WordPress scheduler auto trigger – Test
Test ok and
The engine schedule has been skipped. The scheduler is overloaded or a job has fatal error and blocks the scheduler.
With CTRL F5 on that page the button turns green and says – Everything seems fine!
I have made some test subscribers for newsletter that I have planned for a certain time
No mails are sending….
I have done several tests before this and sending was ok.
Oh, the script using see here
- The topic ‘Warning with externally triggered cron’ is closed to new replies.