Changeset 151


Ignore:
Timestamp:
06/21/05 10:05:08 (17 years ago)
Author:
bastiaans
Message:

daemon/togad.py:

  • No longer store jobs in dbase with state 'E'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/togad.py

    r146 r151  
    491491
    492492                                self.jobAttrs[ jobid ]['status'] = 'F'
    493                                 self.jobAttrs[ jobid ]['stop_timestamp'] = str( int( jobinfo['reported'] ) + int( jobinfo['poll_interval'] ) )
     493                                self.jobAttrs[ jobid ]['stop_timestamp'] = str( mytime )
    494494
    495495                                if not jobid in self.jobs_to_store:
     
    499499
    500500                for jobid in self.jobs_to_store:
    501                         self.ds.storeJobInfo( jobid, self.jobAttrs[ jobid ] )   
     501                        if self.jobAttrs[ jobid ]['status'] not in [ 'E' ]:
     502                                self.ds.storeJobInfo( jobid, self.jobAttrs[ jobid ] )   
    502503
    503504                debug_msg( 1, printTime() + ' - torque_xml_thread(): Done storing.' )
Note: See TracChangeset for help on using the changeset viewer.