aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.openshift/cron/minutely/poller10
1 files changed, 0 insertions, 10 deletions
diff --git a/.openshift/cron/minutely/poller b/.openshift/cron/minutely/poller
deleted file mode 100755
index e1ebdb751..000000000
--- a/.openshift/cron/minutely/poller
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-if [ ! -f $OPENSHIFT_DATA_DIR/last_run ]; then
- touch $OPENSHIFT_DATA_DIR/last_run
-fi
-if [[ $(find $OPENSHIFT_DATA_DIR/last_run -mmin +4) ]]; then #run every 5 mins
- rm -f $OPENSHIFT_DATA_DIR/last_run
- touch $OPENSHIFT_DATA_DIR/last_run
- # The command(s) that you want to run every 5 minutes
-cd /var/lib/openshift/55999305e0b8cd838f000053/app-root/repo; /opt/rh/php54/root/usr/bin/php include/poller.php
-fi