Monitor Files in Google Drive with Apps Script

The Drive Activity Report tracks changes to the files and documents in your Google Drive and send the list in an email every midnight. It also logs the changes in a Google Sheet.

It internally uses the DriveApp.search() method to find these files that have the modifiedDate property greater than the 24 hour period.