IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/ippTasks/pstamp.pro

    r23230 r24951  
    88$pstampJob_DB = 0
    99$pstampFin_DB = 0
     10
     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 it to get passed to pstamptool as one word
     13# tricky to debug problem ensues
     14# example:
     15# $PSDBSERVER = -dbserver hostname
     16$PS_DBSERVER = ""
    1017
    1118macro pstamp.reset
     
    115122
    116123    task.exec
     124        $run = pstamptool -pendingreq
    117125        if ($DB:n == 0)
    118126            option DEFAULT
    119             command pstamptool  -pendingreq
    120127        else
    121128            option $DB:$pstampReq_DB
    122             command pstamptool  -pendingreq -dbname $DB:$pstampReq_DB
     129            $run = $run $PS_DBSERVER -dbname $DB:$pstampReq_DB
    123130            $pstampReq_DB ++
    124131            if ($pstampReq_DB >= $DB:n) set pstampReq_DB = 0
    125132        end
     133        add_poll_args run
     134        command $run
    126135    end
    127136
     
    213222        else
    214223            option $DB:$pstampFin_DB
    215             command pstamptool  -completedreq -dbname $DB:$pstampFin_DB
     224            command pstamptool  -completedreq -dbname $DB:$pstampFin_DB $PS_DBSERVER
    216225            $pstampFin_DB ++
    217226            if ($pstampFin_DB >= $DB:n) set pstampFin_DB = 0
     
    307316        else
    308317            option $DB:$pstampJob_DB
    309             command pstamptool -pendingjob -limit 10 -dbname $DB:$pstampJob_DB
     318            command pstamptool -pendingjob -limit 10 -dbname $DB:$pstampJob_DB $PS_DBSERVER
    310319            $pstampJob_DB ++
    311320            if ($pstampJob_DB >= $DB:n) set pstampJob_DB = 0
Note: See TracChangeset for help on using the changeset viewer.