summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/gearman/someping.phtml
diff options
context:
space:
mode:
authorBjörn Geiger2011-07-13 14:26:12 +0200
committerBjörn Geiger2011-07-13 14:26:12 +0200
commit76c08ae35fc9ef699b3d0eb2b00d1938ff9593c4 (patch)
tree6ee9fb03288a1e5dbea736ff46ba17cd5c49ecad /application/views/scripts/gearman/someping.phtml
parentweitere Korrekturen (diff)
downloadpoolctrl-76c08ae35fc9ef699b3d0eb2b00d1938ff9593c4.tar.gz
poolctrl-76c08ae35fc9ef699b3d0eb2b00d1938ff9593c4.tar.xz
poolctrl-76c08ae35fc9ef699b3d0eb2b00d1938ff9593c4.zip
Gearman Test funktioniert nun
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