[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Command qso

NAME

Command qso :: Queue Set Open

SYNOPSIS

qso TargetName QueueName BooleanValue

DESCRIPTION

The qso function can be used to open or to close a queue. If a queue is closed, new jobs are holded until queue is re-opened. The parameters are the target name, the queue name and a boolean value which indicates if the queue must be opened or closed.

EXAMPLE

In this example, a target named `localhost' and a queue name `myqueue' are created. Then, qso command is used to open queue. qi is used to show `Openend' property before (`Opened=FALSE') and after (`Opened=TRUE') change.

 
$ dio87d -d
$ dio87c -- ta localhost
$ dio87c -- qa localhost myqueue
$ dio87c -- qi localhost myqueue
Target Name:   localhost
Queue Name:    myqueue
Description:	
Opened:        FALSE
Max:           1
$
$ dio87c -- qso localhost myqueue true 
$
$ dio87c -- qi localhost myqueue
Target Name:    localhost
Queue Name:     myqueue
Description:	
Opened:         TRUE 
Max:            1
$

ACCESS CONTROL

This function requires the `manage' privilege for the `target' command family.

SEE ALSO



This document was generated by dom on September, 11 2005 using texi2html