franklin74
10-05-2004, 02:35 AM
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:
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
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:
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