+ Reply to Thread
Results 1 to 1 of 1
-
Administrator
- Join Date
- Aug 2009
- Posts
- 63
FTP upload notification mail script
FTP upload notification mail script
You can get the mail alerts on ftp upload. Add these to a file named /root/check_upload. Chmod /root/check_upload 700. Add the following cronjob to run everyday say 1 AM server time. It will send you a mail of what all files are uploaded on the current date.
* 1 * * * /root/check_upload
grep upload /var/log/messages | grep "`date | awk {'print $2" "$3'}`" > /root/upload ; cat /root/upload |mail -s "Ftp Uploads on `date`" email@domain.com


LinkBack URL
About LinkBacks



Reply With Quote