View Full Version : Cron Path
shelly
03-15-2007, 07:09 PM
Hi
I have version 2.1.02 and have searched the forums but
can anyone tell me the path to cron
I have tried various paths and they all return different errors
I have enabled everything in Admin.
/usr/bin/php-f/home/shelly/public_html/mysite/cron/check.php
/usr/bin/php -f /home/shelly/public_html/mysite/cron/check.php
/usr/bin/php/home/shelly/public_html/mysite/cron/check.php
/php-f/home/shelly/public_html/mysite/cron/check.php
/php/home/shelly/public_html/mysite/cron/check.php
/home/shelly/public_html/mysite/cron/check.php
also do I need to set up a cronjob for sponsored too?
Many thanks
Shelly
Dave Baker
03-15-2007, 10:37 PM
Hello shelly,
Maybe this article will help you:
http://www.esyndicat.com/support/desk/knowledgebase/view/3.html
shelly
03-15-2007, 11:04 PM
Hi Dave
I can not see anything there that helps me?
my path to php is /usr/bin/php which I have tried
along with several other variations for the path to cron
so ermm what are other esyn users using?
anyone please?
Shelly
Daniel Zurita
03-15-2007, 11:55 PM
Hello shelly,
The following worked for me:
/usr/local/bin/php -f /usr/home/dzurita/public_html/hecho-en-mexico/cron/check.php
where /usr/home/dzurita/public_html/hecho-en-mexico/cron/check.php is my full path to check.php file.
When accessing to my server via FTP I can see the full path. But you can ask your hosting support for this.
Now, you should have an e-mail where the cron results will be sent. Ask for assistance to your hosting support on this.
Once you receive these e-mails, it means that cron is working. BUT these e-mails may contain ERROR messages when the cron have had an error while executing.
Here is exactly where I am. I have posted a couple of cron errors and I am waiting for support.
Hope this helps. Sorry for my mistakes in English as this is not my first language.
Regards
Daniel
shelly
03-16-2007, 12:12 AM
Hi Daniel
Your English is very good
I did think that should be the path but now I get the error:
Parse error: syntax error, unexpected '(', expecting '}' in /home/shelly/public_html/mysite/cron/check.php
on line 287
Same as you I think?
If we have the path right then maybe a bug?
Many thanks
Shelly
Daniel Zurita
03-16-2007, 12:23 AM
Hello,
this was the first error I got.
Please see the following thread:
http://www.esyndicat.com/forum/about9480.html
I corrected the error you have mentioned with this thread:
http://www.esyndicat.com/forum/about9468.html
but now I have a second error.
Could you please check if the first solution worked for you? Or if you have the second error like me?
Thanks.
Regards
Daniel
Sergey Ten
03-16-2007, 05:28 AM
Hello Daniel,
I am sorry :ooi:
[ Find code ]
$body = .count($links)." links checked \n=========================\n";
[ Replace with ]
$body = count($links)." links checked \n=========================\n";
[ Save change ]
shelly
03-16-2007, 05:12 PM
Hi Sergey
I applied the fix you gave Daniel for I had the same problem
It worked once
and now I get these errors
Warning: main(/includes/compat.inc.php) 'function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/shelly/public_html/mysite/includes/config.inc.php on line 108
Warning: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/shelly/public_html/mysite/includes/config.inc.php on line 108
Warning: main() [<a href='function.include'>function.include</a>]: Failed opening '/includes/compat.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shelly/public_html/mysite/includes/config.inc.php on line 108
v2.1.02
thanks
Shelly
Daniel Zurita
03-16-2007, 08:12 PM
Hello Shelly,
I also applied the fix on check.php file on line 408.
I am not sure this will help though, but you can try.
Regards
Daniel.
Sergey Ten
03-17-2007, 05:31 AM
Hello Shelly,
Please send me your FTP details via PM. Don't forget to include a description of problem.
Thanks.
shelly
03-17-2007, 04:49 PM
Hi Sergey
The description of my problem is as my above post??
I will wait until you release a cron package that works - thank you
for I have numerous sites I wish to use it on.
Sergey Ten
03-19-2007, 07:19 AM
Hello shelly,
Still haven't any PMs from you.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.