ipzapfsf

ipzapfsf

This program is part of nightly maintenance for the LIFE system. It purges the
agency queues of all files no longer in the FSFxxx RemoteViews.

It has 2 sections :
    First is to make a list of all current files.
    Second to scan all the agency queues to delete all not on our list.

It uses a parameter file to decide which FSF/RemoteViews to use and which
queues to zap. This, by default, is tables/setup/LIFE_MAINT.

Pls also note that you will need to zap res forks :
15 5 * * * ( cd /dmsmwire1data1/fip/spool/newlife ; /apps/bin/p.rsrc -d )

Syntax of the parameter file :
    ; comment
    ; use these key fsfs to generate our list which is a SUPERSET of all

    keyfsf:home/FSF1000
    keyfsf:feat/FSF5000
    keyfsf:home/FSF1000

    ; delete any file NOT in the above fsf from the following queues
    savque:home
    savque:sports
    savque:feat
    savque:biz
    savque:sysmgr

Input parameters are : all optional :
    -q : path for life structure        default: /fip/spool/life
    -e : Old NewsEditor Type 2=variable default: 9
    -E : Old NewsEditor Type 1=fixed    default: 9
    -l : log each msg in            default: do NOT log
    -z : parameter file         default: setup/LIFE_MAINT
    -v : display version number and exit.
Version Control
;003d   17sep97 version9 is now default
        ;a  6dec97 finished Ver9
        ;b  6apr98 zap any empty queues
        ;c 27nov00 new version of Heilos has different System filenames like Desktop
etc
        ;d  1jun09 tidyup

(copyright) 2017 and previous years FingerPost Ltd.