Does anyone have an example of some code that would perform a 'get latest' on a folder and/or a file(s)?
I was thinking about making my first custom task for the task scheduler that would run once a week, and get the latest from certain folders and files. It would be helpful to automate this so that users are definitely getting the latest 'admin' type files they need, as well as something that could be run after a clear cache. Or is there another way to achieve this that i'm not thinking of?
Any help would be much appreciated, Thanks