'Rundeck failed to remove remote file in C:\WINDOWS\TEMP\ when the Job times out

Notice that when the Rundeck job triggers a timed out due to running too long, it fails to remove the temp file from my remote window node. Due to this action, the Temp folder has an unnecessary amount of dispatch temp files in the folder. I wondered if their a config setting to remove said files if the job triggers a timed out within Rundeck.

Rundeck is running on Community 3.4.10



Solution 1:[1]

There is no specific option for that, a good idea you can do is to run a periodic job that cleans that directory.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1