Changeset 25402 for branches/eam_branches/20090715/ippTasks/pstamp.pro
- Timestamp:
- Sep 15, 2009, 3:59:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ippTasks/pstamp.pro
r25022 r25402 10 10 11 11 # set PS_DBSERVER if postage stamp database host is not the same as the value for DBSERVER in site.config 12 # warning: no quotes around the two words. it cause itto get passed to pstamptool as one word13 # tricky to debug problem ensues12 # warning: no quotes around the two words. That causes the variable to get passed to pstamptool as one word 13 # and a tricky to debug problem ensues 14 14 # example: 15 # $PSDBSERVER = -dbserver hostname 16 if ($?PSDBSERVER == 0) 15 # $PS_DBSERVER = -dbserver hostname 16 17 if ($?PS_DBSERVER == 0) 17 18 $PS_DBSERVER = "" 18 19 end … … 134 135 end 135 136 add_poll_args run 137 # add_poll_labels run 136 138 command $run 137 139 end … … 178 180 book getword pstampRequest $pageName ds_outProduct -var PRODUCT 179 181 182 host anyhost 183 180 184 $run = pstamp_parser_run.pl --req_id $REQ_ID --uri $URI --product $PRODUCT --redirect-output 181 185 … … 219 223 220 224 task.exec 225 $run = pstamptool -completedreq 221 226 if ($DB:n == 0) 222 227 option DEFAULT 223 command pstamptool -completedreq224 228 else 225 229 option $DB:$pstampFin_DB 226 command pstamptool -completedreq-dbname $DB:$pstampFin_DB $PS_DBSERVER230 $run = $run -dbname $DB:$pstampFin_DB $PS_DBSERVER 227 231 $pstampFin_DB ++ 228 232 if ($pstampFin_DB >= $DB:n) set pstampFin_DB = 0 229 233 end 234 add_poll_args run 235 # add_poll_labels run 236 command $run 230 237 end 231 238 … … 313 320 314 321 task.exec 322 $run = pstamptool -pendingjob 315 323 if ($DB:n == 0) 316 324 option DEFAULT 317 command pstamptool -pendingjob -limit 10318 325 else 319 326 option $DB:$pstampJob_DB 320 command pstamptool -pendingjob -limit 10-dbname $DB:$pstampJob_DB $PS_DBSERVER327 $run = $run -dbname $DB:$pstampJob_DB $PS_DBSERVER 321 328 $pstampJob_DB ++ 322 329 if ($pstampJob_DB >= $DB:n) set pstampJob_DB = 0 323 330 end 331 add_poll_args run 332 # add_poll_labels run 333 command $run 324 334 end 325 335 … … 356 366 task.exec 357 367 book npages pstampJob -var N 358 if ($N == 0) break 368 if ($N == 0) 369 periods -exec $RUNEXEC 370 break 371 end 372 periods -exec 0.05 359 373 360 374 book getpage pstampJob 0 -var pageName -key pantaskState INIT … … 374 388 end 375 389 390 host anyhost 376 391 377 392 $run = pstamp_job_run.pl --job_id $JOB_ID --job_type $JOB_TYPE --rownum $ROWNUM --output_base $OUTPUT_BASE --redirect-output
Note:
See TracChangeset
for help on using the changeset viewer.
