IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18363


Ignore:
Timestamp:
Jun 29, 2008, 2:51:19 PM (18 years ago)
Author:
eugene
Message:

active chip cleanup tasks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/chip.pro

    r18342 r18363  
    2929    active true
    3030  end
    31 #  task chip.cleanup.load
    32 #    active true
    33 #  end
    34 #  task chip.cleanup.run
    35 #    active true
    36 #  end
     31  task chip.cleanup.load
     32    active true
     33  end
     34  task chip.cleanup.run
     35    active true
     36  end
    3737end
    3838
     
    192192  periods      -timeout 30
    193193  npending     1
    194   active       false
     194  active       true
    195195
    196196  stdout NULL
     
    213213  task.exit    0
    214214    # convert 'stdout' to book format
    215     ipptool2book stdout chipPendingCleanup -key chip_id:class_id -uniq -setword dbname $options:0 -setword pantaskState INIT
     215    ipptool2book stdout chipPendingCleanup -key chip_id -uniq -setword dbname $options:0 -setword pantaskState INIT
    216216    if ($VERBOSE > 2)
    217217      book listbook chipPendingCleanup
     
    233233end
    234234
    235 # run the chip_imfile.pl script on pending images
     235# run the ipp_cleanup.pl script on pending images
    236236task           chip.cleanup.run
    237237  periods      -poll $RUNPOLL
    238238  periods      -exec $RUNEXEC
    239239  periods      -timeout 60
    240   active       false
     240  active       true
    241241
    242242  task.exec
     
    251251    book setword chipPendingCleanup $pageName pantaskState RUN
    252252    book getword chipPendingCleanup $pageName camera -var CAMERA
    253     book getword chipPendingCleanup $pageName cleanup_mode -var CLEANUP_MODE
     253    book getword chipPendingCleanup $pageName state -var CLEANUP_MODE
    254254    book getword chipPendingCleanup $pageName chip_id -var CHIP_ID
    255255    book getword chipPendingCleanup $pageName dbname -var DBNAME
    256256
    257257    # specify choice of local or remote host based on camera and chip (class_id)
    258     set.host.for.camera $CAMERA $CLASS_ID
     258    set.host.for.camera $CAMERA FPA
    259259
    260260    stdout $LOGDIR/chip.cleanup.log
Note: See TracChangeset for help on using the changeset viewer.