Changeset 19221
- Timestamp:
- Aug 26, 2008, 1:28:12 PM (18 years ago)
- Location:
- trunk/pstamp/scripts
- Files:
-
- 7 edited
-
dquery_finish.pl (modified) (1 diff)
-
dqueryparse.pl (modified) (1 diff)
-
pstamp_dorequest.pl (modified) (1 diff)
-
pstamp_finish.pl (modified) (2 diffs)
-
pstamp_job_run.pl (modified) (1 diff)
-
pstamp_parser_run.pl (modified) (2 diffs)
-
request_finish.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/dquery_finish.pl
r18982 r19221 146 146 my $verbose = shift; 147 147 148 my $command = "$pstamptool - processedreq -req_id $req_id -state stop";148 my $command = "$pstamptool -updatereq -req_id $req_id -state stop"; 149 149 $command .= " -fault $fault" if $fault; 150 150 $command .= " -dbname $dbname" if $dbname; -
trunk/pstamp/scripts/dqueryparse.pl
r18624 r19221 150 150 151 151 { 152 my $command = "$pstamptool - processedreq -req_id $req_id -name $req_name -outProduct $product";152 my $command = "$pstamptool -updatereq -req_id $req_id -name $req_name -outProduct $product"; 153 153 $command .= " -fault $result" if $result; 154 154 $command .= " -dbname $dbname" if $dbname; -
trunk/pstamp/scripts/pstamp_dorequest.pl
r16764 r19221 106 106 { 107 107 ## TODO: what about request status 108 my $command = "$pstamptool - processedreq -req_id $request_id -state stop";108 my $command = "$pstamptool -updatereq -req_id $request_id -state stop"; 109 109 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 110 110 run(command => $command, verbose => $verbosity); 111 111 unless ($success) { 112 die("Unable to perform pstamptool - processedreq: $error_code");112 die("Unable to perform pstamptool -updatereq: $error_code"); 113 113 } 114 114 } -
trunk/pstamp/scripts/pstamp_finish.pl
r18983 r19221 217 217 # set the request's state to stop 218 218 { 219 my $command = "$pstamptool - processedreq -req_id $req_id -state stop -fault $request_fault";219 my $command = "$pstamptool -updatereq -req_id $req_id -state stop -fault $request_fault"; 220 220 $command .= " -dbname $dbname" if $dbname; 221 221 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 231 231 my $dbname = shift; 232 232 233 my $command = "$pstamptool - processedreq -req_id $req_id -state stop -fault $fault";233 my $command = "$pstamptool -updatereq -req_id $req_id -state stop -fault $fault"; 234 234 $command .= " -dbname $dbname" if $dbname; 235 235 -
trunk/pstamp/scripts/pstamp_job_run.pl
r18742 r19221 171 171 # stop the job and set the result value 172 172 { 173 my $command = "$pstamptool - processedjob -job_id $job_id -state stop -fault $jobStatus";173 my $command = "$pstamptool -updatejob -job_id $job_id -state stop -fault $jobStatus"; 174 174 $command .= " -dbname $dbname" if $dbname; 175 175 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = -
trunk/pstamp/scripts/pstamp_parser_run.pl
r18587 r19221 193 193 print STDERR "Unknown request type $request_type found in $uri"; 194 194 195 my $command = "$pstamptool - processedreq -req_id $req_id -state run";195 my $command = "$pstamptool -updatereq -req_id $req_id -state run"; 196 196 $command .= " -reqType unknown"; 197 197 $command .= " -fault $PS_EXIT_DATA_ERROR"; … … 240 240 # 241 241 { 242 my $command = "$pstamptool - processedreq -req_id $req_id -state run";242 my $command = "$pstamptool -updatereq -req_id $req_id -state run"; 243 243 $command .= " -reqType $reqType" if $reqType; 244 244 $command .= " -uri $new_uri" if $new_uri; -
trunk/pstamp/scripts/request_finish.pl
r18984 r19221 76 76 # Since we don't have a req_name there's not much we can do so just the request's state to stop. 77 77 print STDERR "request $req_id has unknown reqType $req_type\n" if $verbose; 78 my $command = "$pstamptool - processedreq -req_id $req_id -state stop -fault $PS_EXIT_DATA_ERROR";78 my $command = "$pstamptool -updatereq -req_id $req_id -state stop -fault $PS_EXIT_DATA_ERROR"; 79 79 $command .= " -dbname $dbname" if $dbname; 80 80 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
