According to Franck Horlaville:
> I'd like to set htdig to crawl only at night.
> 
> Right now I know how to start it at specified times with cron and 
> tell it to save context before quitting so it restarts where it left 
> off.
> 
> Current operation chain :
> 
> general "do it forever and log" script
>    slightly modified rundig.sh
>      htdig
> 
> I would like to include cron somewhere in there to turn crawling on and off.
> 
> Any suggestions ?

You'd need to run htdig with the -l option, and save its process ID somewhere.
Then, your cron job to stop crawling would have to kill that process ID.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to