Because my cron job has to run in my root. I try the following:
1. I make another copy of spider.php and place it in my root.
2. I try "php spider.php cronlist >> spider.log"
I got "path not found" types of errors in spider.log
3. I change $relative_script_path from ".." to "public_html/phpdid" (line 31, that is my path).
I got nothing (0 byte) in spider.log file. Anything I did wrong? Did anyone try to run shell mode spider in directories other than admin? Please help!!!
|