OS4X plugin os4xplugin delete

From OS4X
Revision as of 09:04, 29 July 2022 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Deletes every file referenced in the job on the file system.

Requirements

  • File /etc/os4x.conf or 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.conf not 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.