3.4.5 cron processqueue failure

I am able to run the following cron command using an earlier version of phplist.

/usr/bin/php /home/pfms/public_html/phplist2/admin/index.php -pprocessqueue -c/home/pfms/public_html/phplist2/config/config.php $*

But I get this output below when I try to run the same cron in 3.4.5 Any suggestions?

phpList - phpList version 3.4.5 © 2000-2019 phpList Ltd, https://www.phplist.com

phpList :: phpList :: Send the queue
<div id="container">

		<nav id="navigation" class="navbar navbar-inverse  navbar-fixed-top col-lg-2 col-md-3">
	        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse_" data-target="#menuTop" aria-expanded="false">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	        </button>
	        <a href="./" class="navbar-brand"><img src="ui/phplist-ui-bootlist/logo.svg" alt="phpList, email newsletter manager, logo" title="phpList, the world's most popular Open Source newsletter manager" /></a>
		</nav>
		<div id="sidebar" class="sidebar col-lg-2 col-md-3">
		        		    <div id="context-menu" class="menu block">
		            		    </div>
		    <div id="recent" class="menu visited block">
		            		    </div> 
		    <div class="col-sm-12 sidebar-footer">
    		    <div id="language">
العربية Bulgarian Català Česky danske Deutsch ελληνικά english español Español (Argentina) فارسی suomi française Galician עברית Croatian magyar Icelandic italiano 日本語 Lithuanian Latvian Norwegian Nederlands Vlaams polski Portuguese Portuguès (Brazil) Romanian русский Slovak Slovenian Albanian Srpski svenska Turkish Việt 简体中文 Traditional Chinese
			    <div id="logged">
			        <a id="login" class="navbar-btn btn-primary btn-sm" href="./?page=home">login</a>     			    </div>
			</div>
		</div>    <!-- end #sidebar -->

    <div class="col-lg-10 col-md-9 col-lg-offset-2 col-md-offset-3" id="content" tabindex=-1>
	    <div id="globalhelp">
	    		    </div>
	    <div id="wrapp">
		    <div id="progressbar"></div>

the response to your cron job is not a ‘report’, it’s a web page.
you might try
/usr/bin/php-cli
instead of
/usr/bin/php

1 Like