#!/bin/sh PATH=$PATH:/usr/local/bin # # Easy invocation of python script # Add the following to crontab: # @daily //wrapper-sensors-battery.sh # (/home/mischa/hue/get-sensors.py $(cat /home/mischa/hue-bridge) $(cat /home/mischa/hue-token) -b 60) | mail -s "Hue Battery Status" $(cat /home/mischa/hue-email)