String
Strings can be represented in a few different ways:
Integer
Integers can be represented as a negative or positive whole number without a decimal point, for example:
Boolean
Boolean values can be represented as either true or false without quotes, for example:
IP Address
IP addresses are represented as strings and can contain either IPv4 or IPv6 addresses, for example:
Size
Sizes are represented in bytes as positive integers without a decimal point, for example:
Duration
Durations are represented as a string that consists of an integer value and a unit of measurement. The following units of measurement are available for representing durations:
Rate
Rates are represented as strings that consist of an integer value followed by the symbol / and a duration. The duration specifies the time interval over which the integer value is to be distributed. For example:
Array
Arrays are sequences of values that can be of any type, including strings, integers, booleans or any other type. Arrays are represented using square brackets [] and are separated by commas ,. For example:
Cron
Stalwart runs periodically automated tasks that perform essential maintenance to ensure efficient use of storage and optimal database operations. The schedule for these tasks is configured using a simplified cron-like syntax: