How to diagnose a cron that don't start ?

Status
Not open for further replies.

sgtz47

Member
Messages
30
Reaction score
0
Points
6
Please, I need your help with setting up a cron job for phplist.

This is the code :
"/usr/bin/lynx -source 'http://ledmx.x10.mx/phplist3/admin/index.php?page=processqueue&login=sgtz&password=s1erra' > /home/ledmxx10/public_html/cronlogs/process_listserv.htm"

Previously I tried with this other cron :
/usr/local/cpanel/3rdparty/bin/php -q /home/ledmxx10/public_html/phplist3/admin/index.php -pprocessqueue -c/home/ledmxx10/public_html/phplist3/config/config.php > /home/ledmxx10/public_html/cronlogs/process_listserv.htm

As no output is generated I'm wondering
A) Ff there's another way to diagnose what's happening internally.
B) Which one of these scripts should I use ?
C) Are crons enabled by Admin ?

Regards,

-------------
Update : Guys,

Finally it is reporting to the log.
This is the error.

Failed loading /usr/local/IonCube/ioncube_loader_lin_5.3.so: /usr/local/IonCube/ioncube_loader_lin_5.3.so: undefined symbol: zend_resolve_path
phpList version 2.11.7 (c) 2000-2013 phpList Ltd, http://www.phplist.com

Error: Sorry, You (ledmxx10) do not have sufficient permissions to run phplist on commandline

Any idea how to fix it ?
 
Last edited:

sgtz47

Member
Messages
30
Reaction score
0
Points
6
----------------------------------------------------------------------------------
It seems that everything is related to IonCube.
I'm wondering if I should open a new ticket requesting to enable IonCube.

What do you think ?
 

hbazer

Member
Messages
398
Reaction score
7
Points
18
...Error: Sorry, You (ledmxx10) do not have sufficient permissions to run phplist on commandline

That error says it all

Cron jobs and ioncube loader "iversion 40202" - ARE enable on all three (3) free-hosting servers

You need to have the Cron job throw any output and error messages into a file in you account - to debug it

"You need to have a good knowledge of Linux commands before you can use cron jobs effectively" - from cPanel
 

sgtz47

Member
Messages
30
Reaction score
0
Points
6
Need help... ? Really don't know how to setup a cron.

This is the last error (repeated many times with different lines)


Error: Sorry, You (ledmxx10) do not have sufficient permissions to run phplist on commandline
Failed loading /usr/local/IonCube/ioncube_loader_lin_5.3.so: /usr/local/IonCube/ioncube_loader_lin_5.3.so: undefined symbol: zend_resolve_path
phpList version 2.11.7 (c) 2000-2013 phpList Ltd, http://www.phplist.com
 
Status
Not open for further replies.
Top