Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-150

Add cleanup leaf job at the end of a workflow

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 4.4.0
    • Affects Version/s: master
    • Component/s: Pegasus Planner
    • None

      It would be nice to add a cleanup leaf job at the end of workflows. Just like we prepend a mkdir job, we can append a (cd /tmp ; rm -rf

      {workdir}

      ). Obviously this will only work for successful workflows for which this would be a nice touch when people are running a lot of workflows in production mode.

      For failed ones it is nice to have the remote side around, and those can always be cleaned up with the cleanup workflow.

      One concern is if this change would affect hierarchical workflows.

            Assignee:
            vahi Karan Vahi
            Reporter:
            rynge-page Mats Rynge [X] (Inactive)
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: