added start-fc-epl-monitor.sh.
authorJoseph Snow <josephsnow@gmail.com>
Tue, 15 Nov 2011 23:13:44 +0000 (16:13 -0700)
committerJoseph Snow <josephsnow@gmail.com>
Tue, 15 Nov 2011 23:13:44 +0000 (16:13 -0700)
epl monitor is no longer a cron task.

util/start-fc-epl-monitor.sh [new file with mode: 0644]

diff --git a/util/start-fc-epl-monitor.sh b/util/start-fc-epl-monitor.sh
new file mode 100644 (file)
index 0000000..34191c6
--- /dev/null
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+## Author: Joseph Snow (snow@sleepless.com) 11/10/2011
+## script to check local disk space and submit data to AWS cloudwatch
+
+while true ; do
+       su -c /home/ec2-user/fc/util/fc_monitor_epl_cron.sh ec2-user 
+               
+       # wait 15 minutes
+       sleep 900
+done
+