PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Bug Tracker (http://www.phpdig.net/forum/forumdisplay.php?f=27)
-   -   cron again (http://www.phpdig.net/forum/showthread.php?t=2005)

xdaniel 05-10-2005 01:36 PM

cron again
 
Hello Charter and all the others,

maybe I am too stupid, but I'm one step away from what I wanted and can't get it running (Version 1.8.7).

I tried almost every hint in this board the last two nights, but I can't get the cronjob working. I don't want my Workstation let running all the nights to spider the server.

When I try:

cd /pages/mydirectory/admin
php -f spider.php forceall > spider.log

everything works fine.

But if I try to use the cronjob using the full path how you described, I get all the errors like "warning, can't include...on line 96...115"

Is there anyone who can explain completely and step by step how to use it?

There are a lot of fragments and I think I made any important fault? Or is there anyone who can install it for me?

Best wishes from a boy getting gray hairs and crying for help... :-)

Daniel

Charter 05-10-2005 01:53 PM

Go into spider.php and comment out the following:
Code:

    // echo $relative_script_path;
    $relative_script_path = '..';

And then try the cron job again. Work now?

xdaniel 05-10-2005 09:44 PM

Hi Charter,

I just to tried the script from the commandline using full path and it works now! I try the cronjob this evening and tell you the results.

Thanks a lot!

Best wishes from Cologne

Daniel

xdaniel 05-11-2005 09:55 PM

Hi Charter,

you were right. Now it worked. Thanks a lot!

Daniel

Charter 05-12-2005 07:33 AM

Okay, thanks. Moved to bugs...


All times are GMT -8. The time now is 12:58 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.