Difference between revisions of "OS4X plugin os4xplugin enqueue"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
− | |||
− | + | == Purpose == | |
− | + | Putting all files defined in the passed XML into the OS4X send queue for OFTP transmission. The comment "OS4X Enterprise send job #..." is appended to the send queue entry in order to distinguish the send queue entries from one another. | |
− | + | This plugin uses the function from the program "<code>os4xeq</code>" and outputs its output as well as the command that was used. | |
+ | If the addressee uses non-default OFTP parameters, these are passed to the "<code>os4xeq</code>" program. | ||
− | + | The environment variable "<code>OS4X_JOB_XML</code>" refers to the job XML for plugin execution. In addition, information can be dynamically extracted from a job in [[OS4X Enterprise - other protocols|other protocols]] such as SCP, for example. | |
− | == | + | == 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. | |
− | * | ||
− | |||
− | |||
+ | == Configuration == | ||
- | - | ||
== Parameter == | == Parameter == | ||
− | + | As an asynchronous plugin, this plugin must support the "<code>-c</code>" parameter. This deletes all send queue entries that have the corresponding comment. Because OS4X aborts all active send queue transfers for which no entry exists (and this happens at the latest after the progress bar update time of 3 seconds for active transfers has expired), processes are not actively terminated. | |
− | |||
== Return value == | == Return value == |
Latest revision as of 08:35, 29 July 2024
Purpose
Putting all files defined in the passed XML into the OS4X send queue for OFTP transmission. The comment "OS4X Enterprise send job #..." is appended to the send queue entry in order to distinguish the send queue entries from one another.
This plugin uses the function from the program "os4xeq
" and outputs its output as well as the command that was used.
If the addressee uses non-default OFTP parameters, these are passed to the "os4xeq
" program.
The environment variable "OS4X_JOB_XML
" refers to the job XML for plugin execution. In addition, information can be dynamically extracted from a job in other protocols such as SCP, for example.
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.
Configuration
-
Parameter
As an asynchronous plugin, this plugin must support the "-c
" parameter. This deletes all send queue entries that have the corresponding comment. Because OS4X aborts all active send queue transfers for which no entry exists (and this happens at the latest after the progress bar update time of 3 seconds for active transfers has expired), processes are not actively terminated.
Return value
- 0: everything OK
- 1: Execution of "
os4xeq
" failed (see plugin output) - 2: no valid recipient found