Cron job was unable to process the queue in phplist

Avatar
  • Answered
Hi,
I want to run phplist with cron job. But it does not work.
When cron runs, I do receive emails for cron itself, but does not have messages sent out in phplist.
I would appreciate very much for your help.

Duplicate entry question:

I can not run phplist with cron job. When called tech support, they were able to run it from their command line. However, it is still not working from my cpanel, even using the same code:
'php -q /home/"ID"/public_html/phplist/admin/index.php -pprocessqueue -c/home/"ID"/public_html/phplist/config/config.php'
Can you any one help?
Thanks a lot.



Regards,
Jin
Avatar
JeffMa
I have run the command that you have defined within the cron job from your cPanel user and it has fully processed the queue without any issues. To replicate this, you may log in via SSH and run the command that you have defined in your cron job.