Want to know the php files that were created/changed in the last 24h ?
Easy, just run this:
find /var/www/vhosts/ -type f -mtime -1 -name '*.php' -print
This will print out the last files created or changed in the last 24hours under the folder vhost (recursively).
You can even create a cronjob to do that every day at (ex: 1:00h) and send the output to a email address, just create a cronjob:
now create the job:
0 1 * * * find /var/www/vhosts/ -type f -mtime -1 -name '*.php' -print | mail -s "Alert - find new files" [email protected]