From 45a14d1aea1ff924e7b421f762d603562f932093 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 11 Mar 2022 10:37:55 -0600 Subject: [PATCH] update --- .getardoplist-cron | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.getardoplist-cron b/.getardoplist-cron index 3c2f7d8..67692fb 100755 --- a/.getardoplist-cron +++ b/.getardoplist-cron @@ -93,13 +93,11 @@ if [ -f $PACKET ]; then rm $PACKET fi -#put date on top line of each file -echo "List Last Downloaded $(date)" >> $FILE -echo "List Last Downloaded $(date)" >> $FORTY -echo "List Last Downloaded $(date)" >> $EIGHTY -echo "List Last Downloaded $(date)" >> $TWENTY -echo "List Last Downloaded $(date)" >> $THIRTY -echo "List Last Downloaded $(date)" >> $PACKET +#create file that has grid variable used in calculations +touch $HOME/patmenu2/ardop-list/grid.txt +MYGRID=$(grep locator $HOME/.config/pat/config.json | sed 's/.*": //;s/"//g;s/,//') +echo "GRID=$MYGRID" > $HOME/patmenu2/ardop-list/grid.txt +echo "LASTDL=List downloaded `date`" >> $HOME/patmenu2/ardop-list/grid.txt #download list to individual files. DL(){