autostop.sh 241 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# kill mp-rude measurements at midnight CET

source $HOME/dragonlab/etc/start.cfg
T=$(env TZ=Europe/Oslo date +%T)

if test $T = "00:00:00"; then
    pkill -f $crude
    pkill -f $rude
    pkill -f $trace
    pkill -f $vmstat
fi