Difference between revisions of "OS4X plugin os4xplugin promata sender"
Jump to navigation
Jump to search
(New page: == Zweck == Bestimmen des Adresscodes des Senders eines Auftrags anhand der Rückgabe eines Scripts, welches den virt. Filenamen der Datei des Auftrags enthält. Der Adresscode, der aus d...) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Plugins]] | |
− | + | == Purpose == | |
+ | Determine the address code of the sender of a job based on the return of a script that contains the virt. contains the file name of the file of the job. The address code, which is determined from the script, is read as the only output on stdout by the plugin and the sender of the order is searched for in the database. If there are several users who use this address code, the last one entered will be used. | ||
− | == | + | == Requirements == |
+ | * File <code>/etc/os4x.conf</code> or configuration file referenced by environment variable <code>$OS4X_CFGFILE</code>. The temporary directory and the license file are obtained via the database that is configured here. | ||
+ | *Only a single file may be included in the order. | ||
+ | *The script for determining the address code must be administered by yourself and has the following absolute (hard, unchangeable) path: | ||
+ | $[[OS4X_Core_environment_variables|OS4X_SCRIPT_DIR]]/promata_addressing_sender.sh | ||
− | + | == Configuration == | |
− | + | - | |
− | |||
− | |||
− | == | + | == Return codes == |
− | + | *0: everything OK | |
− | + | *1: Number of parameters != 1; Config file <code>/etc/os4x.conf</code> not found; Config in database not readable | |
− | + | *2: License not valid | |
− | *0: | + | *3: XML file invalid |
− | *1: | ||
− | *2: | ||
− | *3: XML |
Latest revision as of 08:55, 29 July 2024
Purpose
Determine the address code of the sender of a job based on the return of a script that contains the virt. contains the file name of the file of the job. The address code, which is determined from the script, is read as the only output on stdout by the plugin and the sender of the order is searched for in the database. If there are several users who use this address code, the last one entered will be used.
Requirements
- File
/etc/os4x.conf
or configuration file referenced by environment variable$OS4X_CFGFILE
. The temporary directory and the license file are obtained via the database that is configured here. - Only a single file may be included in the order.
- The script for determining the address code must be administered by yourself and has the following absolute (hard, unchangeable) path:
$OS4X_SCRIPT_DIR/promata_addressing_sender.sh
Configuration
-
Return codes
- 0: everything OK
- 1: Number of parameters != 1; Config file
/etc/os4x.conf
not found; Config in database not readable - 2: License not valid
- 3: XML file invalid