Changeset 243 for trunk/jobmond


Ignore:
Timestamp:
04/07/06 17:31:25 (18 years ago)
Author:
bastiaans
Message:

jobmond/jobmond.py:

  • added queued_timestamp

web/addons/job_monarch/overview.php:

  • fixed typo in queued since assignment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jobmond/jobmond.py

    r228 r243  
    287287                        status = self.getAttr( attrs, 'job_state' )
    288288
     289                        queued_timestamp = self.getAttr( attrs, 'ctime' )
     290                        print queued_timestamp
     291
    289292                        if status == 'R':
    290293                                start_timestamp = self.getAttr( attrs, 'mtime' )
     
    355358                        myAttrs['status'] = status
    356359                        myAttrs['start_timestamp'] = start_timestamp
     360                        myAttrs['queued_timestamp'] = queued_timestamp
    357361                        myAttrs['reported'] = str( int( int( self.cur_time ) + int( self.timeoffset ) ) )
    358362                        myAttrs['nodes'] = nodeslist
     
    421425                if jobattrs['start_timestamp'] != '':
    422426                        appendList.append( 'start_timestamp=' + jobattrs['start_timestamp'] )
     427                       
     428                if jobattrs['queued_timestamp'] != '':
     429                        appendList.append( 'queued_timestamp=' + jobattrs['queued_timestamp'] )
    423430
    424431                appendList.append( 'reported=' + jobattrs['reported'] )
Note: See TracChangeset for help on using the changeset viewer.