Description
Steps to schedule the workflow temp folders clean-up using a utility.
Applies To
Foundation 12.1
Cause
How to use the Workflow TEMP Folder Deletion Utility
Solution/Immediate Workaround
Steps to schedule the workflow temp folders clean-up using a utility
1) Unzip the WFTempFolders_CleanUpUtility folder
2) Setting up CleanUpUtility as a scheduled task
- Click Start, click Administrative Tools, and then click Task Scheduler.
- In the Actions pane, click Create Task.
- For the name of the task, type WinshuttleWorkflowTempDelete (or any name).
- Select the Run whether the user is logged on or not option.
- Select the Run with Higher Privileges checkbox.
- Click Change User or Group. In the Select User or Group pop up box, enter the Winshuttle Workflow Administrator account name and click OK.
- On the Triggers tab, click New.
- Under Settings, select Daily and then set the task to repeat every month or week for a duration of indefinitely. Click OK.
- On the Actions tab, click New.
- Click Browse and select the executable \CleanUpUtility.exe
- In Add arguments, type Number of Days "Temp Folder Location1" "Temp Folder Location2" "Temp Folder Location3"
Example arguments as: 30 "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WorkflowRoot\temp\ws" "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WorkflowRoot\temp\form" "C:\inetpub\wwwroot\wss\VirtualDirectories\80\sharevis\form"
where 30 - The data to deleted 30 days or prior data
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WorkflowRoot\temp\ws - Default location of temp\ws
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WorkflowRoot\temp\form - Default location of temp\form
C:\inetpub\wwwroot\wss\VirtualDirectories\Web App Name: Port\sharevis\form - Web application location, specific the correct web application name and port
Note: The above-mentioned folders are safe to delete and do not delete any other folders apart from above without Winshuttles suggestion. - Click OK.
- Re-enter your credentials if prompted and save the task.
Additional Information
Comments
0 comments
Please sign in to leave a comment.