XML Document Formats - Task Configuration - Task

Task nodes have the following attributes:

AttributeDescription
IDTask ID
Active0 means the task is never run by the scheduler or any of the notifiers.
AR1 means that the task should automatically be rerun if any source hits a MaxFiles or MaxBytes limit.
CacheNames"random" (the default) means cache files have random names.
"orig" means that original names are retained; this is necessary for some scripts, but can be problematic if the same filename appears on more than one source.
CAS"Compare Across Sources", an advanced sync-only option that tells us how to decide which files should be downloaded.
  • "N" (never) says to always compare the previous directory listing to the current listing. If there was no previous directory listing, download all files.
  • "A" (always) says to always compare the current files on this source to the current files on the other source, looking for significant differences in timestamps. This method is not reliable because the clocks are usually not in sync.
  • Empty (default) is to compare the previous to the current IF a previous directory listing is available, else compare across servers. Typically a previous listing is available, except for the first time that the sync task runs.
NameTask name
NextEIDNext entity ID. This is used by Admin to assign IDs to elements. Not needed by Central.
SameSecs This new task attribute will describe how far apart two timestamps can be to still be considered the same. It is used during an initial sync run, when we must compare files across systems whose clocks may not be synced. This number applies after timezone and DST adjustments have been made. The default will be 43200 seconds (12 hours).
A value of -1 means that timestamps are always considered the same.
A value of -2 means that timestamps are always considered different (i.e., "copy all files, even if they have not been modified).
Note: this should be implemented as a signed long integer.
TTTask Type. If "Sy", this is a Synchronization task. If "COS", this is an Advanced task. Default is Traditional task.