Script running queue

I created a script based on this article:

#!/bin/bash
/opt/plesk/php/8.1/bin/php /var/www/vhosts/vlc-auryn.nl/mailing.vlc-auryn.nl/admin/index.php -c /var/www/vhosts/vlc-auryn.nl/mailing.vlc-auryn.nl/config/config.php $*

My Plesk VPS executes this script every 10 minutes: 0-59/10 * * * * * **

Nothing happens. The output is:

Can anyone help me?
Thank you very much!

@Rovanov You need to include -p processqueue in the command run by the cron job.

Thank you Duncanc,

I’m just an amateur. How do I do that in the above script?

@Rovanov See Step 2 in the documentation Setting up your Cron | phpList manual

Thanks Duncan,
When I run the script with the -pprocessqueue option, as an admin I get the ‘Campaign start and end’ mail. But the subscribers don’t get any mail.

SOLVED

Queued campaigns are not responding to a refreshed cronjob.
When the cronjob is created/changed, then create a new campaign. Not the other way around.