随同 admin() 或 task() 函数,使用 stop json listener 参数来停止有线监听器。
元素 | 描述 | 关键考虑 |
---|---|---|
property_file | 要使用的资产文件名,不是缺省的。 | property_file 是可选的。缺省资产文件在 $GBASEDBTDIR/etc/jsonListener.properties 中。 |
listener_arguments | 要传递到有线监听器的命令行参数。 |
stop json listener 参数停止有线监听器。
EXECUTE FUNCTION task("stop json listener", "mycustom.properties");
EXECUTE FUNCTION task("stop json listener", "mycustom.properties", "-port 27018");