Changeset 28087 for trunk/ippToPsps/scripts/ippToPsps_run.pl
- Timestamp:
- May 25, 2010, 9:05:56 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/scripts/ippToPsps_run.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/scripts/ippToPsps_run.pl
r28084 r28087 105 105 my $lastExpId = getLastExpId(); 106 106 107 print "*******************************************************************************\n*\n"; 107 108 print "* Last successfully processed exposure ID was $lastExpId\n"; 108 109 … … 146 147 my $batchId = 0; 147 148 my $batchesPerJob = 1; 148 149 print "*******************************************************************************\n*\n";150 151 149 my $anyBatches = 0; 152 153 150 154 151 $query->execute; … … 243 240 sub getLastExpId { 244 241 245 return `tail $logFile -n 1 | awk '{print \$2}'`; 242 my $lastExpId = `tail $logFile -n 1 | awk '{print \$2}'`; 243 chomp($lastExpId); 244 return $lastExpId; 246 245 } 247 246 … … 262 261 close (MYFILE); 263 262 264 if ($verbose) { print "* Current jobId = $jobId\n"; }265 263 $jobId++; 266 if ($verbose) { print "* New jobId = $jobId\n"; }267 264 268 265 open (MYFILE, "> $jobIdFilePath");
Note:
See TracChangeset
for help on using the changeset viewer.
