gt-big-data / QDoc

Quick & Dirty Operating Crawler
4 stars 1 forks source link

Only allow one instance of the crawler to run at a time. #28

Open supersam654 opened 8 years ago

supersam654 commented 8 years ago

On the production server, we attempt to run the crawler every 2 minutes. Sometimes (usually), the crawler can't finish in two minutes. To deal with this, we should add a lock file that causes the crawler to immediately close if it detects it.

Specific Requirements: