PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   cron job (http://www.phpdig.net/forum/showthread.php?t=99)

David J Harmon 09-27-2003 03:29 AM

cron job
 
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 06: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:


All times are GMT -8. The time now is 02:34 AM.

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