According to Franck Horlaville:
> >  > 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
> 
> done
> 
> >and save its process ID somewhere.
> 
> how can i do that ? my shell is a bit rusty

In the Bourne shell, as well as bash, the "$!" pseudo-variable will give
you the PID of the last background process it started with an "&".

> >Then, your cron job to stop crawling would have to kill that process ID.
> 
> got that part ok


-- 
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