summaryrefslogtreecommitdiff
path: root/community-staging/fcron/run-cron
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-14 00:01:48 +0000
committerroot <root@rshg054.dnsready.net>2012-06-14 00:01:48 +0000
commit35c30674b2b901077a809a6f1d8e5a0115098c8b (patch)
treebac1c7d0c5b1651fef436eb13be31506b5aa60b1 /community-staging/fcron/run-cron
parentf46e734fbcd0b4cbae2cff1a017b95e4e8e02d53 (diff)
Thu Jun 14 00:01:48 UTC 2012
Diffstat (limited to 'community-staging/fcron/run-cron')
-rw-r--r--community-staging/fcron/run-cron14
1 files changed, 14 insertions, 0 deletions
diff --git a/community-staging/fcron/run-cron b/community-staging/fcron/run-cron
new file mode 100644
index 000000000..51007a15a
--- /dev/null
+++ b/community-staging/fcron/run-cron
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+
+if [ -z $1 ]; then
+ echo "Usage: $0 crondir"
+ exit 1
+fi
+
+for cron in $1/* ; do
+ if [ -x $cron ]; then
+ $cron
+ fi
+done
+unset cron