MaxMessageDate

Set this parameter to ignore messages that were created after the specified date.

Specify the date in UTC time using one of the following formats:

  • A date in the format YYYY-MM-DD HH:NN:SS, for example 2022-06-29 00:00:00.
  • A relative date, starting with the character ‘-’ followed by a time duration. The time duration is relative to the time when the task begins, which results in a rolling limit. Relative dates support the units year(s), month(s), week(s), day(s), hour(s), minute(s), and second(s). You can shorten the value by abbreviating the units to their first letter (months abbreviates to m, minutes to n). For example:

       -3months 1week
       -3m 1w

    A single value without a unit is read in seconds, so the following are equivalent:

       -1day
       -86400s
       -86400

    Positive values are accepted if they begin with the character '+', but be aware that positive values represent times in the future.

Type: Date or relative date
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

To retrieve messages that were created before 01 June 2022:

MaxMessageDate=2021-06-01 00:00:00

To ignore messages that are less than 12 hours old:

MaxMessageDate=-12h

See Also: MinMessageDate