Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

It should be noted that trigger expressions can determine if a node has been archived using <flag>archived. See the example below.

 Automatic archiving is prevented:

  • If the node with auto archive attribute has previously been restored. Use re-queue to clear the restored flag.
  • If the node or any of its parents are suspended.

Usage

  • ecflow_client --archive=/s1                       # archive suite s1
  • ecflow_client --archive=/s1/f1 /s2            # archive family /s1/f1 and suite /s2
  • ecflow_client --archive=force /s1 /s2      # archive suites /s1,/s2 even if they have active tasks

...

Code Block
 suite s
  family f1
    autoarchive +01:00 # archive one hour after complete
  endfamily
  family f2
     autoarchive 01:00 # archive at 1 am in morning after complete
  endfamily
  family f3
    autoarchive 10     # archive 10 days after complete
  endfamily
  family f3_1
    autoarchive 10 -i    # archive 10 days after complete, queued,aborted. i.e if no activity archive after 10 days (ecflow 5.6.1)
  endfamily
  family f4
    autoarchive 0      # archive immediately after complete, can take up to a minute
  endfamily
  family restore
    task res
       trigger /s/f1<flag>archived   # if node /s1/f1 has been archived, restore it.
       autorestore /s/f1
endsuite

...