| Shared Hosting Questions about your shared hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Mar 2008
7 posts
Gave thanks: 0
Thanked 0 times
|
phplist cron job setup help needed
I've moved server and the cron job I had set up for phplist no longer seems to work, could someone copy and paste the command they use with phplist because I can't get anything to work.
thanks |
|
|
|
|
|
#3 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
936 posts
Gave thanks: 2
Thanked 95 times
|
Give a bit more information. What did you have before in your cron statement. What do you have now. Do you have the same directory structure as you had before for phplist? etc.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Mar 2008
7 posts
Gave thanks: 0
Thanked 0 times
|
This is what my cron command is:
php -q /home/leedsis/public_html/mailinglist/admin/index.php -p processqueue -c /home/leedsis/public_html/mailinglist/config/config.php all the files are exactly the same. The output seems to show that the login information isn't being passed to the script, i've tried various other statements to no avail: curl 'http://www.domain.com/mailinglist/admin/index.php?page=processqueue&login=*******&password =********* php /home/leedsis/public_html/mailinglist/admin/index.php page=processqueue login=***** password=******** |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Mar 2008
7 posts
Gave thanks: 0
Thanked 0 times
|
oh, the other error i get is that when I process the queue manually, it says the following about 5 times:
Database error 2006 while doing query MySQL server has gone away A search on the phplist site brought up the following thread but I can't make much sense of it ![]() 0008905: Database error 2006 while doing query MySQL server has gone - Mantis Last edited by farrukh; March 16th, 2008 at 8:50 PM.. |
|
|
|
|
|
#6 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
936 posts
Gave thanks: 2
Thanked 95 times
|
Off hand it appears you are not connecting to your database. In your config file do you have the correct database name and user name as you set up in cPanel. Have you for sure added the username to the database.
Depending on how the index.php file looks at the arguments you are passing it looks like one of the curl / php commands you are testing are wrong. The curl is passing one argument and the php is passing 2. I don't have a copy of the index file to take a look.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#7 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Mar 2008
7 posts
Gave thanks: 0
Thanked 0 times
|
The curl command seems to be working ok now, the only problem I have is sending the messages. I used to have a delay of 1 minute between each email (to avoid overloading the server and getting my mails marked as spam) but it no longer seems to stay active so it sends one email per batch and then stops until the next cron command is activated.
|
|
|
|