IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 4, 2023, 7:34:24 AM (3 years ago)
Author:
eugene
Message:

merge from trunk: adding rebalance scripts

Location:
branches/eam_branches/ipp-20220316/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/tools

  • branches/eam_branches/ipp-20220316/tools/eam/rebalance/rebalance.mana

    r41745 r42359  
    88$EXEC = exec
    99
    10 $BIGSIZE = 30M
     10# BIGSIZE was 30M, but some machines do not have enough files that large
     11$BIGSIZE = 15M
    1112$TB_BYTE = 1024^4
    1213$VERSION = NONE
     
    223224    while ($waitForDay)
    224225      # check if we should run the next rsync at this time:
    225       # only run except between HST = 19:00 - 05:00 or UT = 09:00 - 19:00
     226      # only run except between HST = 19:00 - 05:00 or UT = 05:00 - 15:00
    226227      ctimes -abs now -var tnow
    227228      $thour = 24.0*($tnow - int($tnow))
     
    242243
    243244    echo "rsyncing $srcdir/ to $tgtdir/ : $movelog"
     245    break -auto off
    244246    exec rsync -auv --files-from=$movelist $srcdir/ $tgtdir/ >& $movelog
     247    break -auto on
    245248  end
    246249end
Note: See TracChangeset for help on using the changeset viewer.