Changeset 165


Ignore:
Timestamp:
06/23/05 14:33:19 (19 years ago)
Author:
bastiaans
Message:

plugin/togap.py:

  • Configurable Torque server
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugin/togap.py

    r162 r165  
    99#
    1010DAEMONIZE = 1
     11
     12# Which Torque server to monitor
     13#
     14TORQUE_SERVER = 'localhost'
    1115
    1216# How many seconds interval for polling of jobs
     
    129133
    130134                self.pq = None
    131                 self.pq = PBSQuery()
     135                if( TORQUE_SERVER ):
     136                        self.pq = PBSQuery( TORQUE_SERVER )
     137                else
     138                        self.pq = PBSQuery()
    132139
    133140        def getAttr( self, attrs, name ):
Note: See TracChangeset for help on using the changeset viewer.