DirectoryFileCreatedBefore

The DirectoryFileCreatedBefore parameter limits the files that are retrieved by the connector. Files are retrieved only if they were created on or before the specified time.

NOTE: This parameter is supported only on Windows.

Set the value of this parameter in one of the following ways:

  • An absolute date in epoch seconds.
  • An absolute date in the format YYYY-SHORTMONTH-DD H+:N+:S+.
  • 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
Type: Date or relative date (UTC time)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

To retrieve files created before 01 November 2016:

DirectoryFileCreatedBefore=2016-NOV-01 00:00:00

To retrieve files that were created more than 6 hours ago:

DirectoryFileCreatedBefore=-6h

See Also: DirectoryFileCreatedSince