#!/usr/bin/env bash # load rvm ruby source /usr/local/rvm/environments/ruby-1.9.3-p484@smartmeter cd /home/pcog/smartmeter ruby report_mailer.rb