Solved: Cron not working after moving phplist to other directory

I setup phplist and cron and everything worked fine but after moving phplist to another directory on same server cron won’t work anymore. All i get is following error:

Status: 404 Not Found
Content-type: text/html
No input file specified.

I put $pageroot with correct path on configfile after moving the phplist.
Is there somewhere hardcoded that default path (lists) or what is causing this?

Cron executable:

#!/bin/bash
/usr/bin/php /public_html/customer_list/admin/index.php -c /public_html/customer_list/config/config.php $*

Cron job:

*/5 * * * * /home/username/bin/phplist -pprocessqueue

And does the above match the new directory you moved phplist to?

1 Like

Yes, it does. Path is correct.

Is public_html really a root directory?

Oh… that my own mistake, sorry.
I was editing correct file but on wrong server.
Thank you anyway for a quick response.