strawgate / C3-Inventory

C3 Inventory
Other
14 stars 10 forks source link

minor nitpick on automated cleanup of folders #19

Open jgstew opened 8 years ago

jgstew commented 8 years ago

https://github.com/strawgate/C3-Inventory/blob/master/Fixlets/Warning%20-%20Files%20exist%20in%20adobeTemp%20folder%20of%20System%20Drive%20-%20Windows.bes

I like the idea of this and the similar ones as far as automated cleanup of stuff that shouldn't be left on the system by naughty installers.

BUT, I feel like the creation time of the files should be taken into account so that it doesn't try to delete files from an installer that is in the middle of installing something.

now - creation time of folder "" > 8*hour

jgstew commented 8 years ago

Also, this is related and could be added, though I'd say it needs some work: https://bigfix.me/fixlet/details/21705