summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/gearman/someping.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/gearman/someping.phtml')
-rw-r--r--application/views/scripts/gearman/someping.phtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/application/views/scripts/gearman/someping.phtml b/application/views/scripts/gearman/someping.phtml
new file mode 100644
index 0000000..ce458c8
--- /dev/null
+++ b/application/views/scripts/gearman/someping.phtml
@@ -0,0 +1,12 @@
+<?php
+foreach($this->results as $k => $result) {
+?>
+<h3>Result <?php echo $k; ?>:</h3>
+<pre>
+ <?php echo $result->rawoutput; ?><br />
+ alive: <?php if($result->alive) echo 'yes'; else echo 'no'; ?><br />
+ returncode: <?php echo $result->rc; ?>
+</pre>
+<?php
+}
+?> \ No newline at end of file