PDA

View Full Version : cron job


David J Harmon
09-27-2003, 04:29 AM
Could it be done???

Have Admin page to have a place to dig up a list of url. That way I can get some sleep, and even have them update themselfs.

I know this will be hard but you can put it on my wish list.

David J Harmon
Cappuccino David

Rolandks
09-27-2003, 07:20 AM
This is not need - you have it :cool:

Windows:
create - cron.bat: ADD
@echo off
php.exe -f "D:\InetPub\wwwroot\web\phpdig\admin\spider.php" http://www.my_domain_1.com
php.exe -f "D:\InetPub\wwwroot\web\phpdig\admin\spider.php" http://www.my_domain_2.com
php.exe -f "D:\InetPub\wwwroot\web\phpdig\admin\spider.php" http://www.my_domain_3.com
php.exe -f "D:\InetPub\wwwroot\web\phpdig\admin\spider.php" http://www.my_domain_4.com
php.exe -f "D:\InetPub\wwwroot\web\phpdig\admin\spider.php" http://www.my_domain_5.com
php.exe -f "D:\InetPub\wwwroot\web\phpdig\admin\spider.php" http://www.my_domain_6.com

D:\InetPub\wwwroot\web\phpdig is path to phpdig.

Start this with Settings -> Taskmanger at time you want.

Similar under Linux. :rolleyes: