IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33263 for trunk


Ignore:
Timestamp:
Feb 14, 2012, 1:29:52 PM (14 years ago)
Author:
rhenders
Message:

refreshing config after waiting defined number of minutes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/cleanup.py

    r33262 r33263  
    8787    SECONDS = None
    8888
    89 
    9089# create objects
    9190config = Config(CONFIGPATH)
     
    9897logger.infoTitle("ippToPsps clean-up")
    9998if SECONDS: logger.infoPair("Performing clean-up every", "%f hours" % (SECONDS/60.0/60.0))
    100 config.printDeletionPolicy()
    10199while True:
    102100
     101    config.printDeletionPolicy()
    103102    clean("P2")
    104103    clean("ST")
     
    108107        time.sleep(SECONDS)
    109108    else: break
     109    config.refresh()
    110110   
Note: See TracChangeset for help on using the changeset viewer.