File:  [CSRG BSD Unix] / 43BSD / contrib / notes / Samples / cronnet.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#! /bin/csh -f
echo -n "	USENET NOTESFILE UPDATES begin: " ; date
echo " Lock files existing before updates: "; /bin/ls -l /usr/spool/notes/.locks
set nfutil = /usr/spool/notes/.utilities
cd ${nfutil}
foreach i ( *.netlist)
	set sys = `echo ${i} | sed 's/\(.*\).netlist/\1/'`
	echo " ------ Sending to system ${sys}"
	time /usr/bin/nfxmit -d${sys} -a -f ${nfutil}/${sys}.netlist -f ${nfutil}/short.names
end
echo " Lock files existing after updates: "; /bin/ls -l /usr/spool/notes/.locks
echo -n "	USENET 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.