From cbdbbfe1166538f2fc9aefaeed6ce387f25c1255 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 10 Nov 2016 15:13:51 +0100 Subject: add command to shut down a worker --- bin/stop-worker.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bin/stop-worker.php (limited to 'bin/stop-worker.php') diff --git a/bin/stop-worker.php b/bin/stop-worker.php new file mode 100755 index 0000000..48a2fe1 --- /dev/null +++ b/bin/stop-worker.php @@ -0,0 +1,12 @@ +#!/usr/bin/env php +addServer('127.0.0.1'); +$gmclient->doHigh( + $GLOBALS['phinde']['queuePrefix'] . 'phinde_quit', 'none' +); +?> -- cgit v1.2.3