Phplist scheduling not working out

Good Morning, I have the following problem: I am running my phplist via a cron job scheduled to run every 15 minutes of every hour of every day via c panel. I replicate the cron job below. i also have my config.php file set up to send 500 emails every 900 seconds( 15 minutes) so i should have 2000 emails per hour but now my phplist is only sending 1000 per hour because every 2nd 15 minutes i get an error message (also copied below).How do i change either of the settings to get my 2000 per hour out?
php-cli /home/sachm/public_html/phplist/admin/index.php -pprocessqueue -c/home/sachm/public_html/phplist/config/config.php

define(‘MAX_PROCESS_MESSAGE’,999);
define(“MAILQUEUE_BATCH_PERIOD”,900)

phpList version 3.0.12 © 2000-2016 phpList Ltd, http://www.phplist.com phpList - Recently sent : 500 phpList - Started [0.0322100000] (86) phpList - In the last 900 seconds more emails were sent (500) than is currently allowed per batch (500) [0.0004180000] (87) phpList - Script stage: 5 [0.0004170000] (88) phpList - Finished, Nothing to do [0.0003140000] (89)

If you do not also process the queue through the browser, then you can reduce the batch period to a small number, say 10s.

phplist will send only 500 emails per batch and the frequency of the cron job will ensure that one batch is sent every 15 minutes. In this case the batch period is not really important.

1 Like