Skip to content

Instantly share code, notes, and snippets.

@maniac103
maniac103 / crontab
Created January 18, 2014 05:16
EMS graph generation
*/15 * * * * www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung day
5 * * * * www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung halfweek
10 */3 * * * www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung week
0 0 * * * www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung month
@reboot www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung day
@reboot www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung halfweek
@reboot www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung week
@reboot www-data /usr/local/bin/ems-gen-graphs.py /var/tmp/heizung month
@maniac103
maniac103 / etc_default_ems-collector
Created January 17, 2014 15:51
EMS collector defaults
# Defaults file for EMS collector daemon
# This is a POSIX shell fragment
# config file location
CONFIGFILE="/etc/ems-collector.conf"
# Serial device file
#SERIALDEVICE="serial:/dev/ttyUSBEMS"
SERIALDEVICE="tcp:<ip_of_netio>:7950"