Changeset 208
- Timestamp:
- 04/28/09 14:59:45 (7 months ago)
- Files:
-
- bin/iprscan_batch (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
bin/iprscan_batch
r196 r208 11 11 use Thread::Semaphore; 12 12 13 my $usage = " 14 Usage: 15 16 iprscan_batch <file_name> <cpus> <log_file> 17 18 Runs iprscan on the given input file. Output goes into a datastore. 19 20 The cpus option is optional for multi-threading. 21 22 The log file is optional. The optional log file is not for creating that log 23 file but rather to parse an existing log file. iprscan_batch will then only 24 re-run jubs that the log file says are not yet finished. 25 26 27 "; 28 13 29 my $file = shift; 14 30 my $cpus = shift || 1; 15 31 my $log = shift; 32 33 if(! $file){ 34 print $usage; 35 exit; 36 } 16 37 17 38 my @files :shared;
