Permalink
Browse files

Various cleanups, adding Cron shell script

  • Loading branch information...
morphex committed Sep 17, 2018
1 parent 1cb5cee commit 6291603045579228fc6eb7706705504ddb2c2f42
Showing with 16 additions and 0 deletions.
  1. +16 −0 surveil.sh
View
@@ -0,0 +1,16 @@
#!/bin/bash
#
# Shell script to run surveil.py from Cron
#
# For example, enter
#
# @reboot /root/surveil/surveil.sh email-address
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH
cd /root/surveil
python3 ./surveil.py $1 &>surveil.log

0 comments on commit 6291603

Please sign in to comment.