#!/bin/bash . ~/paho/bin/activate cd ~/script ./mqtt.cli.py echo "Start Mqtt Client" | mail -s "Start Mqtt Client" root