15 lines
305 B
Bash
Executable File
15 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! which gearman > /dev/null 2> /dev/null
|
|
then
|
|
echo "gearman isn't installed on this machine. Please try another one."
|
|
exit 1
|
|
fi
|
|
|
|
cat <<EOF | gearman -h gearmand -p 4730 -f guantanamo
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<process>
|
|
<param name="action">list</param>
|
|
</process>
|
|
EOF
|