Python – Check last file date in a folder and notify if there isn’t a new one after n days

This week we had the need of monitoring a folder, specifically we need to know if after “n” days there isn’t any new file. For this reason I programmed a simple python script that sends us an email if this happen. Let’s do the example.

 

Thanks for all

Deixa un comentari

Your email address will not be published. Required fields are marked *