Page 1 of 1

Cannot find config file

PostPosted: 1:52pm, Wed 28 Aug, 2013
by ELMIT
I upgraded from 2.19 to 3.02 today.

I wanted to re-activate my cron for the list and bounces, but both show only Cannot find config file. What do I miss?

Cron:
echo -e "\n\n`date +\%Y-\%m-\%d\ \%H:\%M:\%S`\
n========== ========\n" >> $HOME/processbounces.log; cd '/var/www/html/lists/admin/' ; /usr/bin/php -q index.php -p processbounces >> $HOME/processbounces.log ;


Log file:
2013-08-28 21:26:01
========== ========

Cannot find config file
-e


Re: Cannot find config file

PostPosted: 3:35pm, Wed 28 Aug, 2013
by Sven2157
Shouldn't it be something more like this:
Code: Select all
$ crontab -e
echo "\n\n date( 'Y-m-d H:M:S' )\n========== ========\n" >>
/usr/bin/php /var/www/html/lists/admin/index.php -p processbounces -c /var/www/html/lists/config/config.php > /var/www/html/lists/processbounces.log 2>&1

I don't have CLI, so I can't use these commands. Alternatively, you could use wget, and process it from the URL. Not sure if that is an option ... :wink:

Sven2157

Re: Cannot find config file

PostPosted: 7:46pm, Wed 28 Aug, 2013
by ELMIT
Thanks!

-c /var/www/html/lists/config/config.php

was missing.

Re: Cannot find config file

PostPosted: 8:11pm, Wed 28 Aug, 2013
by Sven2157
ELMIT wrote:Thanks!

-c /var/www/html/lists/config/config.php

was missing.

No problem, glad you got it working. :wink:

Sven2157