#!/bin/sh # location of the directory DIR=/var/www/html/lifeHackAgent/ while [ 1 ] do python "$DIR"motion_detector_2.py -a 6000 python "$DIR"guru-pirate.py sleep 5 done