Hello Alan!
20 Feb 2019 04:02, Alan Ianson wrote to Richard Menedetter:
sqpack netmail or sqpack "*" works for me.
----- doall.bash begins -----
#!/usr/bin/env bash
#
# only run if not all ready doing
#
if [ -f /home/xpoint/fido/lock ]; then
echo 'Already running - exiting dohpt;';
exit;
fi
#
# clean file areas with expire
#
/usr/bin/htick clean
#
# toss echomail
#
/usr/bin/hpt toss
#
# process afix
#
/usr/bin/hpt afix
#
# scan echomail out
#
/usr/bin/hpt scan
#
# pack outbound mail out
#
/usr/bin/hpt pack
#
# make hpt queue update
#
/usr/bin/hpt qupd
#
# link echomail
#
/usr/bin/hptlink
#
# process afix
#
/usr/bin/htick ffix
#
# make sure file exists
#
touch /home/ftp/pub/filelist/annfecho.txt
#
# make file list
#
/usr/bin/htick toss annfecho /home/ftp/pub/filelist/annfecho.txt filelist /home/ftp/pub/filelist/filelist.txt
#
# create lda archive of it
#
/usr/bin/lha a /home/ftp/pub/filelist/filelist.lha /home/ftp/pub/filelist/filelist.txt
#
# make zip archive of it
#
/usr/bin/zip -9 /home/ftp/pub/filelist/filelist.zip /home/ftp/pub/filelist/filelist.txt
#
# make rar archive of it
#
# /opt/bin/rar a -std -inul /home/ftp/pub/filelist/filelist.rar /home/ftp/pub/filelist/filelist.txt
#
# make nodelist update if nlupdate exists :)
#
# [ -f /usr/bin/nlupdate ] && /usr/bin/nlupdate
[ -f /usr/bin/nlupd ] && /usr/bin/nlupd
[ -f /usr/bin/ulc ] && /usr/bin/ulc
#
# announce new files
#
/usr/bin/htick announce
TMP=`cat /home/ftp/pub/filelist/annfecho.txt | wc -l`
if [ $TMP -ge 1 ];
then
/usr/bin/hpt post -nf "Sysop" -af 2:230/38.0 -nt "All" -at 2:230/38.0 -s "new fileareas at xpoint" -e "xpoint_info" -z "yes" -o "Enough" -f loc -d /home/ftp/pub/filelist/annfecho.txt
fi
# update queue reports
#
/usr/bin/hpt qrep
#
#
# clean echomail
#
/usr/bin/sqpack "*"
# janis
/home/xpoint/bin/outman poll -bso 1:261/38
# bjoern
/home/xpoint/bin/outman poll -bso 2:203/0
# tommy
/home/xpoint/bin/outman poll -bso 2:221/0
# /home/xpoint/bin/outman poll -bso 2:221/1
# ward
/home/xpoint/bin/outman poll -bso 2:292/854
# kofo1
/home/xpoint/bin/outman poll -bso 2:230/150
# kofo2
/home/xpoint/bin/outman poll -bso 2:230/152
# luka
# /home/xpoint/bin/outman poll -bso 2:280/1027
# kees
/home/xpoint/bin/outman poll -bso 2:280/5003
# pabel
/home/xpoint/bin/outman poll -bso 2:5030/786
#
# end
#
----- doall.bash ends -----
its a mess that it still works :)
Regards Benny
... there can only be one way of life, and it works :)
--- Msged/LNX 6.1.2 (Linux/4.19.86-gentoo (x86_64))
* Origin: I will always keep a PC running CPM 3.0 (2:230/0)