Changeset 40 for trunk/cleanup_gfac.php


Ignore:
Timestamp:
Apr 28, 2019, 3:00:50 PM (6 years ago)
Author:
gegorbet
Message:

more time information in error,completion emails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cleanup_gfac.php

    r35 r40  
    3333   global $editXMLFilename;
    3434   global $submittime;
     35   global $endtime;
    3536   global $status;
    3637   global $stdout;
     
    7677             "WHERE h.HPCAnalysisRequestID=$requestID";
    7778   */
    78    $query  = "SELECT clusterName, submitTime, queueStatus, method "              .
     79   $query  = "SELECT clusterName, submitTime, queueStatus, analType "            .
    7980             "FROM HPCAnalysisRequest h, HPCAnalysisResult r "                   .
    8081             "WHERE h.HPCAnalysisRequestID=$requestID "                          .
     
    9899
    99100   // Get the GFAC ID
    100    $query = "SELECT HPCAnalysisResultID, gfacID FROM HPCAnalysisResult " .
     101   $query = "SELECT HPCAnalysisResultID, gfacID, endTime FROM HPCAnalysisResult " .
    101102            "WHERE HPCAnalysisRequestID=$requestID";
    102103
     
    110111   }
    111112
    112    list( $HPCAnalysisResultID, $gfacID ) = mysqli_fetch_array( $result );
     113   list( $HPCAnalysisResultID, $gfacID, $endtime ) = mysqli_fetch_array( $result );
    113114
    114115   ////////
Note: See TracChangeset for help on using the changeset viewer.