IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 15, 2012, 11:45:40 AM (14 years ago)
Author:
rhenders
Message:

now taking a time arg so queueing can be scheduled to repeat

File:
1 edited

Legend:

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

    r33489 r33528  
    2626        super(Queue, self).__init__(argv)
    2727
     28
    2829        # create various objects
    2930        self.gpc1Db = Gpc1Db(self.logger, self.config)
     
    3233        self.config.printAll()
    3334
    34         # set a poll time in hours
    35         self.parsePollTimeArg("12")
     35        if len(argv) > 2: self.parsePollTimeArg(sys.argv[2])
    3636   
    3737
     
    136136   
    137137            Batch.publishToDatastore(self.datastore, batchID, batchName, subDir, tarballFile)
    138    
     138   
     139
     140    '''
     141    Overrides base-class version
     142    '''
     143    def printUsage(self):
     144        super(Cleanup, self).printUsage("[<repeat time in hours>]")
     145
     146
    139147'''
    140148Start of program.
Note: See TracChangeset for help on using the changeset viewer.