IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2011, 2:12:02 PM (15 years ago)
Author:
eugene
Message:

adjust code to set long/short exec periods so it does not leave behind unexpected short periods

File:
1 edited

Legend:

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

    r31049 r31854  
    284284
    285285    task.exec
    286         if ($NETWORK == 0) break
     286        periods -exec 20
    287287
    288288        # if we are waiting on data, make the interval long
    289289        book npages pzPendingExp -var N
    290         if ($N == 0)
    291             periods -exec 20
    292             break
    293         end
    294         periods -exec 0.05
     290        if ($N == 0) break
     291        if ($NETWORK == 0) break
    295292
    296293        # find an exp that needs imfiles fetched
     
    321318          echo command $run
    322319        end
     320        periods -exec 0.05
    323321        command $run
    324322    end
     
    408406
    409407    task.exec
    410         if ($NETWORK == 0) break
     408        periods -exec 20
    411409
    412410        # if we are waiting on data, make the interval long
    413411        book npages pzPendingImfile -var N
    414         if ($N == 0)
    415             periods -exec 20
    416             break
    417         end
    418         periods -exec 0.05
     412        if ($N == 0) break
     413        if ($NETWORK == 0) break
    419414
    420415        # find an exp that needs imfiles fetched
     
    502497        # More debug:
    503498#       echo "DEBUG2: " $run
     499        periods -exec 0.05
    504500        command $run
    505501    end
     
    609605
    610606    task.exec
    611         if ($NETWORK == 0) break
     607        periods -exec 20
    612608
    613609        # if we are waiting on data, make the interval long
    614610        book npages pzPendingAdvance -var N
    615         if ($N == 0)
    616             periods -exec 20
    617             break
    618         end
    619         periods -exec 0.05
     611        if ($N == 0) break
     612        if ($NETWORK == 0) break
    620613
    621614        # find an exp that needs imfiles fetched
     
    661654          echo command $run
    662655        end
     656        periods -exec 0.05
    663657        command $run
    664658    end
Note: See TracChangeset for help on using the changeset viewer.