Clear/Clean Remote Working Folder

BatchPatch Forums Home Forums BatchPatch Support Forum Clear/Clean Remote Working Folder

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8805
    ajgreen
    Participant

    Doug,

    Does Batchpatch clean or clear the remote working directory on a regular basis after successful updates or deployments? If not, I’d like to suggest that as a potential future feature. I don’t believe it does as of right now, so what do you believe to be the best way to clear the remote working directly folder? My thoughts – Remote Command 4 with Logged Output(so that I can see if the delete operation passed or failed) that is just a Powershell one-liner command that deletes everything underneath the main folder… Keep up the great work!

    #10065
    doug
    Moderator

    Yes, BP cleans the remote working directory after successful updates or deployments. However, an unsuccessful operation could leave files there. In all cases, BP always leaves a couple/few log files in the folder, and I would recommend that you do not remove these since they contain the history of update operations. If you do decide to remove these, it won’t break anything but you’ll lose some of that history information. If you want to delete the entire directory you may use ‘Tools > Delete remote working directory.’ If you want to delete only certain files/folders in it, then you would have to use a custom command.

    -Doug

    #10066
    ajgreen
    Participant

    Very good thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.