PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 10-05-2004, 02:35 AM   #1
franklin74
Green Mole
 
Join Date: Sep 2004
Posts: 6
prblem with cron

sorry for my poor english, i have tried to set a cronjob to automatic spider some site, but all the time the job is done i've received the mail from my hosting with "No input file specified."

i try with:
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php all
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php cronlist.txt
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php
php -f /home/franza/public_html/cerca/admin/spider.php all
php -f /home/franza/public_html/cerca/admin/spider.php
/usr/bin/php -f spider.php cronlist.txt

my config is settted:

PHP Code:
define('ABSOLUTE_SCRIPT_PATH','/home/franza/public_html/cerca'); // full path up to but not including admin dir, no end slash



if ((!isset($relative_script_path)) || (($relative_script_path != "/home/franza/public_html/cerca") &&

(
$relative_script_path != "..") && ($relative_script_path != ABSOLUTE_SCRIPT_PATH))) {

  
// echo "\n\nPath not recognized!\n\n";

  
exit();


my spider.php is here
/home/franza/public_html/cerca/admin/spider.php
thanks in advance....
Franklin
franklin74 is offline   Reply With Quote
Old 10-06-2004, 03:09 PM   #2
franklin74
Green Mole
 
Join Date: Sep 2004
Posts: 6
help Please.....
franklin74 is offline   Reply With Quote
Old 10-06-2004, 06:13 PM   #3
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Try this:
Code:
php -f /home/franza/public_html/cerca/admin/spider.php http://www.yoursite.com
replacing of course yoursite.com with your domain name.
vinyl-junkie is offline   Reply With Quote
Old 10-07-2004, 07:02 AM   #4
franklin74
Green Mole
 
Join Date: Sep 2004
Posts: 6
first of all: THANKS a lot!!!
now i haven't problem like "not input file select" yet. it was a server error
so i try with:
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php cronlist.txt

cronlist.txt contain 3 lines
http://www.mydomain.com
http://www.anotherexaple.com
http://www.thirdexample.com

but nothing happen

i try also
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php http://www.domain.com

but nothing happen to.
what's the right sintax for this command??

Thanks in advance and sorry for my english
franklin74 is offline   Reply With Quote
Old 10-07-2004, 11:40 PM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Do the following and see what it says:
Code:
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php http://www.domain.com 2>&1
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 10-08-2004, 07:56 AM   #6
franklin74
Green Mole
 
Join Date: Sep 2004
Posts: 6
Code:
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php http://www.mydomain.com 2>&1
www.mydomain.com not spidered

Code:
/usr/bin/php -f /home/franza/public_html/cerca/admin/spider.php http://www.mydomain.com > spider.log 2>&1
an empty log file but www.mydomain.com not spidered

please help
franklin74 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for cron tutorial grassmonster How-to Forum 0 07-07-2007 09:33 AM
cron again xdaniel Bug Tracker 4 05-12-2005 07:33 AM
Locking using Cron Slider Troubleshooting 8 01-13-2005 12:32 AM
cron problem Warmbells Troubleshooting 4 12-23-2004 05:33 PM
Win2000 Cron duffy Troubleshooting 2 12-16-2004 04:43 AM


All times are GMT -8. The time now is 09:31 PM.


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