Skip to main content
Skip table of contents

threshold

Available from version

1.29.0

Usage

/threshold <date>

Description

This argument can be used to specify the time that will be used as the threshold for archiving expired messages. All messages that have expired before this threshold are archived.

If no value is specified, the current time is used.

The threshold can be defined using variables, which can be processed additionally using a modifier.

Only messages that have been expired for at least 24 hours will be archived.

Evaluating variables

The threshold is evaluated as follows:

  1. Replacing the variable values (without calculation)

  2. Generation of a complete time (date + time)

  3. Apply the calculation in the following order

    1. Calculation from the variable {now}

    2. Calculation from the variable {year}

    3. Calculation from the variable {month}

    4. Calculation from the variable {day}

    5. Calculation from the variable {hour}

    6. Calculation from the variable {minute}

Available variables

Examples

IBI.aws.Admin.exe /threshold "{year}-{month}-{day-30}T{hour}:{minute}"
The threshold is defined as the current date - 30 days - e.g. if the call is executed on 15.04.2020 at 03:00 pm, the threshold is 16.03.2020 at 03:00 pm.

IBI.aws.Admin.exe /threshold "{year}-{month-1}-{day}T{hour}:{minute}"
The threshold is defined as the current date - 1 month - e.g. if the call is executed on 15.04.2020 at 03:00 pm, the threshold is 15.03.2020 at 03:00 pm.

IBI.aws.Admin.exe /threshold "2019-05-08T20:00"
The threshold is defined as 08.05.2019 at 08:00 pm.

IBI.aws.Admin.exe /threshold "{now}"
The threshold is defined as the current date (the date of the call).

IBI.aws.Admin.exe /threshold "{year}-{month}-{day}T{hour}:{minute}"
The threshold is defined as the current date (the date of the call).

IBI.aws.Admin.exe /threshold "{year}-{month}-{day}T{hour}:00"
The threshold is defined as the current date at the current full hour (the minutes are fixed at "00", which is why the full hour is always generated for the time)

IBI.aws.Admin.exe /threshold "{year}-{month}-{day}T12:00"
The threshold is defined as the current date at 12 pm (the hours are fixed at "12", the minutes at "00", which is why 12:00 pm is always generated for the time)

IBI.aws.Admin.exe /threshold "{year}-{month}-{day}T{hour+12}:{minute}"
The threshold is defined as the current date + 12 hours - e.g. if the call is executed on 15.04.2020 at 03:00 pm, the threshold is 16.04.2020 at 03:00 am.

IBI.aws.Admin.exe /threshold "{year}-{month+1}-01T{hour}:{minute}"

The threshold is defined as the 1st of the next month at the current time.

IBI.aws.Admin.exe

Without specifying the parameter, the current time will be used as the threshold value.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.