Changeset 28023
- Timestamp:
- May 19, 2010, 12:26:34 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/scripts/ippToPsps_run.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/scripts/ippToPsps_run.pl
r27980 r28023 16 16 # TODO temporary until we use database to store current jobid 17 17 my $jobIdFilePath = "./config/currentJobId.txt"; 18 my $logFile = "./config/logfile.txt"; 18 19 19 20 # default values for certain globals … … 27 28 $singleExpId = undef; 28 29 $datastoreProduct = "PSPS_test"; 30 29 31 30 32 # get user args … … 166 168 $query->execute; 167 169 170 open (LOGFILE, ">> $logFile"); 171 168 172 # loop round exposures 169 173 while (my @row = $query->fetchrow_array()) { … … 215 219 } 216 220 221 # write to the log 222 print LOGFILE "$jobId $expId\n"; 223 217 224 $jobId++; 218 225 $batchId = 0; … … 232 239 233 240 $db->disconnect(); 241 close (LOGFILE); 234 242 235 243 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.
