On Thu, Mar 22, 2012 at 10:08 AM, Hostmaster <[email protected]> wrote:

>
>
> #!/bin/sh
>
> for i in `seq 0 120`; do date; sleep 1; done
>
> Just make sure that cron uses PATH
>
> :-))
>
>

 Thanks. I used my limited scripting ability and slightly
modified the script to use ntptime and awk the 7th field.

NOTES:
-----------
[[email protected](tcsh):101] cat test-time
#!/bin/sh
for i in `seq 0 120`; do ntptime | grep d3 | awk '{print $7}' ; sleep 1;
done
[alby@godzilla]

[alby@godzilla] sh test-time
10:40:31.153,
10:40:32.161,
10:40:33.169,
10:40:34.176,
10:40:35.184,
10:40:36.192,
10:40:37.200,
^C
[alby@godzilla]
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to