Setup Cronjob for processqueue


after a long time of testing i need help to setup a cronjob.

On my hostingpanel i define the job for commandline with this
“/mnt/rid/96/64/52869664/htdocs/list/admin/index.php -pprocessqueue”

I recieved “Permission denied”, the ftp-permissions for the “list” folder is “755”.

What can caused the permission error?

Maybe i have to set same values in the config file?

At the other hand i create another cronjob with this commandline

“/mnt/rid/96/64/52869664/htdocs/list/admin/cron/phplist -pprocessqueue”

Here i recieve a email as confirmation for running with the following content:
"X-Powered-By: PHP/5.6.40
Set-Cookie: phpListSession=3org2qlppi5aqtudm3iutp1dt5; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-UA-Compatible: IE=Edge
X-Robots-Tag: noindex
Content-type: text/html; charset=UTF-8

phpList - phpList version 3.6.6 (c) 2000-2022 phpList Ltd,

phpList :: phpList :: Processqueue
<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>
	        <a href="./" class="navbar-brand"><img src="ui/phplist-ui-bootlist/logo.svg" style="height: 45px; width: auto;" alt="phpList, email newsletter manager, logo" title="phpList, the world's most popular Open Source newsletter manager" /></a>
		<div id="sidebar" class="sidebar col-lg-2 col-md-3">
		        		    <div id="context-menu" class="menu block">"

It seems that this is not corretly!?

Thanks a lot.

If this is the complete command for the cron job then it is missing php

/mnt/rid/96/64/52869664/htdocs/list/admin/index.php -pprocessqueue

The other command is running a shell script. If you view that then you will see that it runs php.

/mnt/rid/96/64/52869664/htdocs/list/admin/cron/phplist -pprocessqueue