The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

ITERATIVE AND SERIAL OS ITEMS

The OS plugin provides the ability to operating system commands.

The item parameters are:

  • name. The name of this item

  • command. The OS command being run

  • timeout. Timeout (in seconds) after which the job is cancelled. Defaults to 0 (No timeout)

  • hide_command. Record the raw command in the audit records, so that potentially sensitive information is not interpolated. Defaults to 0 (not interpolated).

  • on_error. Override the setting for the job. See ETLp::Manual::Index for a detailed explanation of this parameter.

Examples

    <item>
        name         = get file
        type         = os
        command      = %app_root%/bin/ftp_sales.pl 
        timeout      = 60
    </item>

Iterative items also have access to iterative placeholders:

    <item>
        name         = move file
        type         = os
        command      = mv %filename% %archive_dir%
        timeout      = 60
    </item>