Subject: Re: [htdig] start/stop/restart
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Wed Jul 19 2000 - 12:33:48 PDT
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
> Current operation chain :
> general "do it forever and log" script
> slightly modified rundig.sh
> 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@example.com> 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 firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed Jul 19 2000 - 02:34:27 PDT