From 4649b5c7e684d3e447df729138e91982ac00a784 Mon Sep 17 00:00:00 2001 From: KM4ACK <42844783+km4ack@users.noreply.github.com> Date: Sat, 20 Apr 2019 08:29:12 -0500 Subject: [PATCH] Create txgrid2 --- txgrid2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 txgrid2 diff --git a/txgrid2 b/txgrid2 new file mode 100644 index 0000000..ac2c8f1 --- /dev/null +++ b/txgrid2 @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +#script to auto transmit your grid in js8call +#be sure js8 is running before using this script +#this script should be used in conjunction with +#the ruby script setgrid2 +#to automate the process use a cronjob +#HINT: */10 * * * * /paht/to/file/txgrid2 +#will run the script every 10 minutes +#20190420 km4ack + + +value="\"@ALLCALL GRID \"" + +printf '{"params": {}, "type": "TX.SEND_MESSAGE", "value": %s}\n' "${value}" | nc -l -u -w 10 2237