The TouchTask
works like the Unix touch
command: It
sets the modtime
of a file to a specific time. Default is the current
time.
Table 56. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file |
String |
The file which time is to be changed. | n/a | Yes, or nested <fileset> tag
|
datetime |
DateTime |
The date and time the mtime of the file is to be set to. The format is "MM/DD/YYYY HH:MM AM or PM" | now |
No |
millis |
Integer |
The number of milliseconds since Midnight Jan 1 1970 (Unix epoche). | now |
No |