Running cron through WP CLI not working
-
I run the Postie on a few sites and in recent versions running the cron job through WP CLI no longer works. With version 1.9.8 the cron job completes without processing any emails. No error is generated in the server logs.
As the imports are doing some processing on an attached file in the emails I run the cron jobs through WP CLI as to not affect visitors to the site (the job takes roughly 90-100 seconds to complete). I’ve set maximum execution time to 90 seconds in php.ini, so sometimes the job would be interrupted if it were to be started from the web (WP CLI has no such limit).
Using the “Process Email” button in the admin panel works.
The topic ‘Running cron through WP CLI not working’ is closed to new replies.