From: Chuck Hagenbuch Date: Fri, 12 Jun 2009 22:23:25 +0000 (-0400) Subject: simple example of a task run at shutdown X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=33fda3092b158aa0773a3d025962828177d72263;p=horde.git simple example of a task run at shutdown --- diff --git a/framework/Queue/examples/Horde/Queue/shutdown_runner.php b/framework/Queue/examples/Horde/Queue/shutdown_runner.php new file mode 100644 index 000000000..385e76f6a --- /dev/null +++ b/framework/Queue/examples/Horde/Queue/shutdown_runner.php @@ -0,0 +1,19 @@ +add(new TestTask()); + +echo "exiting\n"; +exit(0);