Ignore:
Timestamp:
11/29/06 01:22:03 (15 years ago)
Author:
bastiaans
Message:

jobmond/jobmond.py:

  • applied patch that prevents jobmond from exiting when Torque server is unavailable. Thanks to Peter Kruse <pk@…>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jobmond/jobmond.py

    r281 r282  
    317317                #print self.pq.getnodes()
    318318       
    319                 joblist = self.pq.getjobs()
     319                joblist = {}
     320                while len(joblist) == 0:
     321                        try:
     322                                joblist = self.pq.getjobs()
     323                        except PBSError:
     324                                time.sleep( TORQUE_POLL_INTERVAL )
    320325
    321326                self.cur_time = time.time()
     
    612617
    613618                try:
    614                         from PBSQuery import PBSQuery
     619                        from PBSQuery import PBSQuery, PBSError
    615620
    616621                except ImportError:
Note: See TracChangeset for help on using the changeset viewer.