Question
Tech Mahindra
IN
Last activity: 22 Mar 2022 8:33 EDT
Delete a file from server
I have the successfully processed file under completed folder in server using file listener. Now, I want to delete the same file when it is older than 2 days, Ex: If I save the file in completed folder on jan 1st then the file should be deleted from the folder on jan4th. How do we implement this scenario?