#!/bin/bash source /etc/nodemecu.conf echo "

$(date)
" echo "Stack: $(ls $stack | wc -l) ficheros
" echo "Historicos: $(ls $historical | wc -l) ficheros
" echo "Testigo: $(cat $install_dir/counter)
" echo "Errores: $(wc -l $log) registros
" echo "Ultimos errores registrados
" tail -1 $log echo "

"