Hello Richard!
07 Mar 2016 12:15, Richard Menedetter wrote to Richard Menedetter:
RM> Any ideas why st_htick.pl stopped working here on HPT 1.9?
RM> Any alternative to announce newly arrived files?
#!/bin/sh
#
# now announce
#
/home/xpoint/fido/bin/htick announce
#
# only post if file exists :)
# make this lines a one liner
#
[ -f /home/ftp/pub/FILELIST/annfecho.txt ] &&
/home/xpoint/fido/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
#
# post status from afix/ffix
#
/home/xpoint/fido/bin/hpt qrep
edit as you see fits :=)
save it as dopost.sh
Regards Benny
... there can only be one way of life, and it works :)
--- Msged/LNX 6.2.0 (Linux/4.4.3-gentoo (i686))
* Origin: openvpn on its way here (2:230/0)
|