IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2016, 3:14:22 PM (10 years ago)
Author:
watersc1
Message:

Change to summit.copy.pro task to support pztool -pendingexp dateobs limits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/summit.copy.pro

    r37076 r39520  
    249249
    250250    task.exec
     251
     252    # CZW 2016-04-08 This needs to be set to the date that pztool should start considering. 
     253    #                I've chosen to use date's "relative items in date strings" calculation
     254    #                because it's easy to set a time frame.
     255      $pztool_date_begin = `date -d "-30 days" +%Y-%m-%dT00:00:00`
     256
    251257      if ($DB:n == 0)
    252258        option DEFAULT
     
    255261        # save the DB name for the exit tasks
    256262        option $DB:$pztoolPendingExp_DB
    257         command pztool -pendingexp -limit 10 -dbname $DB:$pztoolPendingExp_DB
     263        command pztool -pendingexp -dateobs_begin $pztool_date_begin -limit 10 -dbname $DB:$pztoolPendingExp_DB
    258264        $pztoolPendingExp_DB ++
    259265        if ($pztoolPendingExp_DB >= $DB:n) set pztoolPendingExp_DB = 0
Note: See TracChangeset for help on using the changeset viewer.