IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36913


Ignore:
Timestamp:
Jun 19, 2014, 3:14:37 PM (12 years ago)
Author:
bills
Message:

add some useful macros for controlling various tasks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pstamp.pro

    r36647 r36913  
    175175macro pstamp.find.off
    176176    task pstamp.request.find
     177        active false
     178    end
     179end
     180macro pstamp.parse.on
     181    task pstamp.request.load
     182        active true
     183    end
     184    task pstamp.request.run
     185        active true
     186    end
     187end
     188macro pstamp.parse.off
     189    task pstamp.request.load
     190        active false
     191    end
     192    task pstamp.request.run
     193        active false
     194    end
     195end
     196macro pstamp.job.on
     197    task pstamp.job.load
     198        active true
     199    end
     200    task pstamp.job.run
     201        active true
     202    end
     203end
     204macro pstamp.job.off
     205    task pstamp.job.load
     206        active false
     207    end
     208    task pstamp.job.run
     209        active false
     210    end
     211end
     212macro pstamp.finish.on
     213    task pstamp.finish.load
     214        active true
     215    end
     216    task pstamp.finish.run
     217        active true
     218    end
     219end
     220macro pstamp.finish.off
     221    task pstamp.finish.load
     222        active false
     223    end
     224    task pstamp.finish.run
    177225        active false
    178226    end
     
    469517        add_poll_args run
    470518        add_poll_labels run
     519        # limit query for finished requests to small number
     520        # because we only run 4 at a time. Using the default queue
     521        # depth fouls up the priority orer
     522        # XXX: use a varaible
     523        $run = $run -limit 8
    471524        command $run
    472525    end
     
    499552    periods     -timeout 2400
    500553    host        anyhost
     554    npending    4
    501555
    502556    task.exec
     
    9511005    # overloading nfs
    9521006
    953     npending    5
     1007    npending    2
    9541008
    9551009    task.exec
Note: See TracChangeset for help on using the changeset viewer.