PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-28-2004, 04:28 AM   #1
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
Re-indexing with crontab

My host doesn't allow me to run "php" from crontab.
I have some other scripts too, and I've solved the problem by using "wget" on the URL's.

The problem is that when I use wget on spider.php it get's the login-page.

Any way around this?
ZoRaC is offline   Reply With Quote
Old 07-28-2004, 05:24 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Do you mean it gets the PhpDig login page? If so, you could set the following in the config.php file, but if you do, then PhpDig would not be protected:
PHP Code:
define('PHPDIG_ADM_AUTH','0'); 
__________________
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 07-28-2004, 11:02 PM   #3
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
I know that's a possibility.
I could do that, and the protect it by .htaccess (username:password@site.com/search/admin/spider.php)

I'll try that!
ZoRaC 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
PHP commands, Crontab and mysql_connect pugg09 Troubleshooting 0 12-15-2005 06:18 PM
Unable to create the content file and crontab not working and ixwebhosting paullind Troubleshooting 17 03-06-2004 06:40 AM


All times are GMT -8. The time now is 11:00 PM.


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