epoch1970;429382 Wrote: 
> On my system I find it under /bin/nc.
> In your script you could have this line:
> 
> echo "00:01:02:03:04:05 connect www.squeezenetwork.com" | nc -w 1
> 127.0.0.1 9090
> 
> which will work if you run the script on the server. Otherwise replace
> 127.0.0.1 with the server's IP address, like 192.168.1.100
> 
> The "-w 1" option make nc wait for 1 second then terminate the
> connection. Your script should terminate properly.

That would seem the best option and referencing it in crontab would do
exactly what I want. Unfortunately the 'nc' command isn't available on
my NAS. Have been searching all evening for a version I could install
but haven't found one so far :-( 

Thanks

Bob


-- 
bobertuk

1 x Duet - SC 7.3.3 - SSOTS v3.17
Lavry DA-10 DAC
QNAP TS-509 3.1.0 b529T
Starfish Pre-amp : Based on NAIM
Heavily modified NAIM NAP 250 Power-amp
Behringer DEQ2496
Linn Isobarik DMS
------------------------------------------------------------------------
bobertuk's Profile: http://forums.slimdevices.com/member.php?userid=30376
View this thread: http://forums.slimdevices.com/showthread.php?t=64121

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to