Skip to content
Snippets Groups Projects
Commit 2b0e3d10 authored by Arno Schoenmakers's avatar Arno Schoenmakers
Browse files

TAsk #11541: Removed dependency on temporary file

parent 5cec2d23
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,9 @@ ...@@ -5,11 +5,9 @@
# #
if [ "$1" != "" ]; then if [ "$1" != "" ]; then
cp /var/log/ntpstats/rubidium_log.$1 /localhome/data/rubidium_log export now=$1
else else
now="`date +%Y%m%d`" export now="`date +%Y%m%d`"
cp /var/log/ntpstats/rubidium_log.$now /localhome/data/rubidium_log
echo "Usage: plotrubidium yyyymmdd" echo "Usage: plotrubidium yyyymmdd"
sleep 1 sleep 1
...@@ -25,9 +23,10 @@ set xlabel "date-time (UT)" ...@@ -25,9 +23,10 @@ set xlabel "date-time (UT)"
set timefmt "%Y-%m-%dT%H:%M:%S" set timefmt "%Y-%m-%dT%H:%M:%S"
set xdata time set xdata time
set format x "%d %b-%H:%M" set format x "%d %b-%H:%M"
plot "/localhome/data/rubidium_log" using 1:5 every 20 notitle; plot '/var/log/ntpstats/rubidium_log.'.`echo $now` using 1:5 every 20 notitle;
pause 300 pause 300
reread reread
EOF EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment