Server directory monitoring with PHP & cron ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • usenet@isotopeREEMOOVEmedia.com

    Server directory monitoring with PHP & cron ?


    I'd like my server to notify me via e-mail whenever users upload files to their
    private SFTP directories. I'm thinking about cobbling together a script that :
    - runs via cron
    - creates some kind of chksum for each directory
    - compares the chksum to the previous one stored in a MySQL database
    - e-mails me if anything has changed
    - saves the new chksum

    But I'm wondering if this (or something else that suits the purpose) has already
    been done, and if so, where the code is available ?

    Thanks for any and all advice.

Working...