Annotation of 43BSDTahoe/new/notes/Samples/cronlocal.sh, revision 1.1

1.1     ! root        1: #! /bin/csh -f
        !             2: #
        !             3: # Read all files with names of the form "system.list" and send any
        !             4: # notesfiles listed in that file to "system". Allows us to add another
        !             5: # feed by merely adding a file "system.list" in the .utilities directory.
        !             6: #
        !             7: echo -n "      LOCAL NOTESFILE UPDATES begin: " ; date
        !             8: echo " Lock files existing before updates: "; /bin/ls -l /usr/spool/notes/.locks
        !             9: set nfutil = /usr/spool/notes/.utilities
        !            10: cd ${nfutil}
        !            11: foreach i ( *.list)
        !            12:        set sys = `echo ${i} | sed 's/\(.*\).list/\1/'`
        !            13:        echo " ------ Sending to system ${sys}"
        !            14:        time /usr/bin/nfxmit -d${sys} -f ${nfutil}/${sys}.list -f ${nfutil}/short.names
        !            15: end
        !            16: echo " Lock files existing after updates: "; /bin/ls -l /usr/spool/notes/.locks
        !            17: echo -n "      LOCAL NOTESFILES UPDATES completed: " ; date

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.