Difference between revisions of "OS4X plugin os4xplugin delete"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
| − | == | + | == Purpose == |
| − | + | Deletes every file referenced in the job on the file system. | |
| − | == | + | == Requirements == |
| − | * | + | * File <code>/etc/os4x.conf</code> or configuration file in the environment variable <code>$OS4X_CFGFILE</code>. The license file is obtained from the database configured here. |
| − | == | + | == Configuration == |
| − | + | None. | |
| − | + | == Return values == | |
| − | == | + | *0: everything OK |
| − | *0: | + | *1: number of parameters != 1; Config file <code>/etc/os4x.conf</code> not found; Config in database not readable; license not valid; XML file invalid |
| − | *1: | + | *all others: return value of the "unlink" function. The output on the standard output contains a system-side textual interpretation of the error. |
| − | * | ||
Latest revision as of 09:04, 29 July 2022
Purpose
Deletes every file referenced in the job on the file system.
Requirements
- File
/etc/os4x.confor configuration file in the environment variable$OS4X_CFGFILE. The license file is obtained from the database configured here.
Configuration
None.
Return values
- 0: everything OK
- 1: number of parameters != 1; Config file
/etc/os4x.confnot found; Config in database not readable; license not valid; XML file invalid - all others: return value of the "unlink" function. The output on the standard output contains a system-side textual interpretation of the error.