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/pstamp.pro

    r30799 r31854  
    512512
    513513    task.exec
     514        periods -exec $RUNEXEC
     515
    514516        stdout NULL
    515517        stderr $LOGSUBDIR/pstamp.job.run.log
    516518        book npages pstampJob -var N
    517         if ($N == 0)
    518             periods -exec $RUNEXEC
    519             break
    520         end
    521         periods -exec 0.05
     519        if ($N == 0) break
    522520       
    523521        book getpage pstampJob 0 -var pageName -key pantaskState INIT
     
    548546            echo command $run
    549547        end
     548        periods -exec 0.05
    550549        command $run
    551550    end
     
    681680
    682681    task.exec
     682        periods -exec $RUNEXEC
     683
    683684        book npages pstampDependent -var N
    684         if ($N == 0)
    685             periods -exec $RUNEXEC
    686             break
    687         end
    688         periods -exec 0.05
     685        if ($N == 0) break
    689686       
    690687        book getpage pstampDependent 0 -var pageName -key pantaskState INIT
     
    729726            echo command $run
    730727        end
     728        periods -exec 0.05
    731729        command $run
    732730    end
     
    820818
    821819    task.exec
     820        periods -exec $RUNEXEC
     821
    822822        book npages pstampCleanup -var N
    823         if ($N == 0)
    824             periods -exec $RUNEXEC
    825             break
    826         end
    827         periods -exec 0.05
     823        if ($N == 0) break
    828824       
    829825        book getpage pstampCleanup 0 -var pageName -key pantaskState INIT
     
    854850            echo command $run
    855851        end
     852        periods -exec 0.05
    856853        command $run
    857854    end
Note: See TracChangeset for help on using the changeset viewer.