kClient HTML Help: COMMAND FILES

This help consists of:

General notes

CMD file's syntax

Syntax of CMD files is described in pdf document: CMD Command Files too. Each row in CMD file is separate command located in one schedule record (see: Schedule). It is possible both : to write one command only in one separate CMD file and to write few commands in separate lines in one CMD file. Each line in such file have to be terminated by CR,LF characters. All commands from one file will be executed one by one chronologically. The order of executing CMD files depends on system settings and you can't be sure that your file sent as first will be executed firstly too. If you want be sure which command will be executed firstly, (control the order) we suggest you include them in one file as a separate lines.

Command file is a text-type file, the name is any, but the extension must be "cmd". More than one such file may be present in scanned directory. In one loop of scanning, (Scanning Folder Interval parameter) the kClient software takes one file only.

In each line of CMD file there are obligatory parameters and optional parameters.

Obligatory parameters have to be in each line and there are as follow:

Optional parameters are as follow:

All parameters in one line are separated by semicolon or comma character.

CONF

This parameter defines number of conference (1 or 2) for given command.

Proper format is : CONF=n;
where n=1 or 2

FREQ

This parameter defines time/frequency parameter of the command execution.

Proper format : FREQ=n;
where n=1 to 15

Value of this parameter have to be in 1..15 range and each value means following action:

EVENT

This parameter defines what kind of action have to be executed by schedule record. This parameter have to be present in each line in CMD file.

Proper format : EVENT=n;
where n=1 to 8

Values of this parameter have to be in 1..8 range and the meanings are as follow:

DATE

This parameter establish a date in each command.

Proper format is: DATE=YYYY-MM-DD;
where YYYY=year MM-month and DD-day

If this parameter is absent, in each command it means that current date will be established. The format is shown as a patter, the fields separator is '-' character.

TIME

This parameter establish a time in each command.

Proper format is: TIME=HH:MM;
where HH-hour i MM-minute

If this parameter is absent, in each command it means that current date will be established. The format is shown as a patter, the fields separator is ':' character.

DIR

This parameter makes possible to insert directory number (in subscriber's commands).

Ppeoper format is: DIR=nn..n;
where nn..n-subscriber's directory number

In commands with EVENT=3 and EVENT=4 this parameter jest obligatory. Maximum number length is 20 digits, allowed characters are digits '0'..'9'.

ANN

This parameter makes possible to insert announcement's number.

Proper format is: ANN=n;
where n=1 to 15

In commands with EVENT=5 and EVENT=6 this parameter is obligator. The announcement must be recorded, only one announcement may be in conference in one time. More information about voice announcements in KKO system you can find in chapter voice announcements in the KKO.

PASS

This parameter makes possible to insert conference password.

Proper format is: PASS=nn..n;
where nn..n-password characters

In command with EVENT=1 this parameter is obligatory. Password maximum length is 5 digits, allowed characters are digits '0'..'9'.

PAR

Additional parameter PAR makes possible to insert additional information in command with FREQ=4, FREQ=5 and FREQ=6.

Proper format is: PAR=n;
where n-value of parameter depending on FREQ.

For item "every n days" n must be in 1..31 days range. For item "every n hours" n must be in 1..72 hours range. For item "every n minutes" n must be in 5..180 minutes range.

Configuration of CMD file feature

In kClient software and on the KKO board there are many options in order to make this service more friendly for you. All options from window Schedule->Command Files bookmark are automatically saved in proper configuration file in closing this window moment. If you open this window, all required data from config file are automatically loaded.

There is example configuration window following(Command Files bookmark in Schedule - option):

cmd1_en.jpg

It this window you can see following options:

Examples of CMD files

At the end of this description, you can see some examples with comments in order to imagine what is possibility of this feature.