Subject: Re: [htdig] start/stop/restart
From: Gilles Detillieux (email@example.com)
Date: Thu Jul 20 2000 - 13:49:43 PDT
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
> >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: <firstname.lastname@example.org> 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@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu Jul 20 2000 - 03:50:42 PDT