Server Side Cron for MailPoet on WPEngine

[ad_1]

Hi,

I am trying to use MailPoet on WPEngine which needs to run with a server side cron, but WPEngine does not support this. I am trying to setup a cron with this plugin as a workaround, but haven’t had any luck yet. This is the server side cron they provide:

php /nas/content/live/INSTALLNAME/wp-content/plugins/mailpoet/mailpoet-cron.php /nas/content/live/INSTALLNAME/

I setup a scheduled cron to run which works when testing with a basic email and I tried using the wp_remote_get function to fetch the URL:

wp_remote_get( ‘https://DOMAIN.COM/wp-content/plugins/mailpoet/mailpoet-cron.php’ );

This hasn’t worked and I am wondering if there is a different configuration I need to use?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer