Skip to content
Snippets Groups Projects
Commit dafdcde8 authored by Menno Norden's avatar Menno Norden
Browse files

task #1723: update with current date

parent 383534d1
No related branches found
No related tags found
No related merge requests found
...@@ -3473,7 +3473,6 @@ MAC/Tools/NTP/timer.c -text ...@@ -3473,7 +3473,6 @@ MAC/Tools/NTP/timer.c -text
MAC/Tools/NTP/timer.c.patch -text MAC/Tools/NTP/timer.c.patch -text
MAC/Tools/NTP/timex.h -text MAC/Tools/NTP/timex.h -text
MAC/Tools/Rubidium/filter.py -text MAC/Tools/Rubidium/filter.py -text
MAC/Tools/Rubidium/plotrubidium -text
MAC/Tools/Rubidium/rlp.py -text MAC/Tools/Rubidium/rlp.py -text
MAC/Tools/Rubidium/rr.py -text MAC/Tools/Rubidium/rr.py -text
MAC/Tools/Rubidium/rubidium -text MAC/Tools/Rubidium/rubidium -text
......
#!/bin/bash #!/bin/bash
# #
# V1.0, M.J.Norden, 18-09-2012 # V1.1, M.J.Norden, 02-11-2012
# Usage: plotrubidium yyyymmdd # Usage: plotrubidium yyyymmdd
# #
...@@ -8,7 +8,8 @@ if [ "$1" != "" ]; then ...@@ -8,7 +8,8 @@ if [ "$1" != "" ]; then
cp /var/log/ntpstats/rubidium_log.$1 /localhome/data/rubidium_log cp /var/log/ntpstats/rubidium_log.$1 /localhome/data/rubidium_log
else else
cp /var/log/ntpstats/rubidium_log /localhome/data/rubidium_log 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment