IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 8, 2008, 3:26:28 PM (17 years ago)
Author:
bills
Message:

Run magic.destreak.load once a minute because it is expensive.
Set logfile for magic_destreak.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/magic.pro

    r20790 r20942  
    312312
    313313  periods      -poll $LOADPOLL
    314   periods      -exec $LOADEXEC
     314  periods      -exec 60
    315315  periods      -timeout 30
    316316  npending     1
     
    370370
    371371    book setword magicToDS $pageName pantaskState RUN
     372    book getword magicToDS $pageName exp_id -var EXP_ID
    372373    book getword magicToDS $pageName magic_ds_id -var MAGIC_DS_ID
    373374    book getword magicToDS $pageName camera -var CAMERA
     
    385386    book getword magicToDS $pageName dbname -var DBNAME
    386387
    387     sprintf logfile "%s/mgcds.%s.%s.%s.log" $OUTROOT $MAGIC_DS_ID $STAGE_ID $COMPONENT
     388    sprintf logfile "%s/%s.mds.%s.%s.%s.log" $OUTROOT $EXP_ID $MAGIC_DS_ID $STAGE_ID $COMPONENT
    388389
    389390    host anyhost
     
    391392    # TODO: do not add recoveryroot, replace, or remove if they are null or zero
    392393
    393     $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --streaks $STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT
     394    $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --streaks $STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile
    394395    # --recoveryroot $RECROOT --replace $REPLACE --remove $REMOVE
    395     # --logfile $logfile
    396396    add_standard_args run
    397397
Note: See TracChangeset for help on using the changeset viewer.