Changeset 2974 for temp/trunk


Ignore:
Timestamp:
2006/08/30 17:27:29 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/batch/daily.php

    r2973 r2974  
    4141    $ret = $objQuery->max("dtb_bat_order_daily", "create_date"); 
    4242    list($batch_last) = split("\.", $ret); 
    43      
    4443    $pass = $now_time - strtotime($batch_last); 
    45      
    46     print($pass); 
    47      
     44         
    4845    // ºÇ¸å¤Î¥Ð¥Ã¥Á¼Â¹Ô¤«¤éLOAD_BATCH_PASSÉ÷вᤷ¤Æ¤¤¤Ê¤¤¤È¼Â¹Ô¤·¤Ê¤¤¡£ 
    49     $batch_pass = date("y/m/d H:i:s", $now_time - LOAD_BATCH_PASS); 
    50      
    51     $objQuery = new SC_Query(); 
    52     $arrRet = $objQuery->select("create_date", "dtb_bat_order_daily", "create_date > ?", array($batch_pass)); 
    53          
    54     //if(count($arrRet) > 0) { 
     46    if($pass > LOAD_BATCH_PASS) { 
    5547        gfPrintLog("LAST BATCH " . $arrRet[0]['create_date'] . " > " . $batch_pass . " -> EXIT BATCH $batch_date"); 
    5648        return; 
    57     //} 
     49    } 
    5850         
    5951    // ½¸·× 
Note: See TracChangeset for help on using the changeset viewer.