From 2f73d24ab134391c3b3a69d5cbfede42e028b5ed Mon Sep 17 00:00:00 2001 From: Haakon Meland Eriksen Date: Fri, 4 Sep 2015 21:42:27 +0200 Subject: Removed old poller --- .openshift/cron/minutely/poller | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 .openshift/cron/minutely/poller (limited to '.openshift/cron/minutely') 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 -- cgit v1.2.3