13 lines
299 B
Bash
13 lines
299 B
Bash
#!/bin/bash
|
|||
|
|
# runs every 5 minutes
|
||
|
|
|
||
|
|
echo "$( date ) monitor run60"
|
||
|
|
# all this is started from cron, met HOME folder -> the root of this project
|
||
|
|
cd monitor >/dev/null 2>&1 # this only works if we start it from CRON, else ignored
|
||
|
|
|
||
|
|
./createGraphs 1d 2w 1y
|
||
|
|
|
||
|
|
./checkMeteoService
|
||
|
|
|
||
|
|
nethogs -v1 -d30 -c2 -t
|