¿ªÔÆÌåÓýGood morning Rich, ? On my g2_link system, there is a cron job that runs every morning at 2AM where the gwys.txt as well as the valid_users.txt files are updated. ? Here they are: ============================= [root@wb1gof my_scripts]# cat /etc/cron.d/update_gwys 5 2 * * * root /root/my_scripts/get_gwy_list.sh > /var/log/get_gwy_list.log 2>&1 ============================= [root@wb1gof my_scripts]# cat? get_gwy_list.sh #/bin/bash /root/my_scripts/create_active_users.sh cd /root/g2_link /bin/cp /root/g2_link/gwys.txt /root/g2_link/gwys.txt.bak /bin/rm -rf /root/g2_link/gwys.txt wget if [ -f /root/g2_link/gwys.txt ] then /usr/bin/nc -u -w 1 127.0.0.1 30003 <<EOF rfr EOF else /bin/mv /root/g2_link/gwys.txt.bak /root/g2_link/gwys.txt fi exit 0 ============================= [root@wb1gof my_scripts]# cat /root/my_scripts/create_active_users.sh /usr/bin/psql -d dstar_global -f /root/my_scripts/create_active_users.sql -U postgres cp /tmp/valid_users.txt /root/g2_link/valid_users.txt ============================= ? Hope this answers your question? ? Terry ? ? From: Rich Painter <painterengr@...>
Sent: Tuesday, February 21, 2023 1:14 AM To: Terry M. Stader - KA8SCP <ka8scp@...> Subject: g2-link valid users input file ? Terry, ? I have been running the g2-link linker for some time but one of its input file is the valid users file mine uses this in the config VALID_CALLSIGNS=[/root/freestar/g2-link/valid_users.txt] ? the file exists but I cant find any process that is updating this file! I have a daily update for the gwys file and can verify that it is working right and up to date. ? How do I get daily updates for the valid users? ? thanks rich
Richard A. Painter, P.E. Retired -- Terry Stader - KA8SCP D-STAR Gateway & Reflector Admin |