#!/bin/sh


echo
echo starting multimon.py and lux.py at `date`
echo

cd $HOME/monitoring

year=$(date +%Y)
month=$(date +%m)
day=$(date +%d)
mkdir $year
cd $year
mkdir $month
cd $month
mkdir $day.lux
cd $day.lux

nohup multimon.py -H sastrugi -S normalFAT -o $HOME/monitoring/$year/$month/$day.lux fathub2 fathub1 &
sleep 60
nohup lux.py -o $HOME/monitoring/$year/$month/$day.lux &

