Report this

What is the reason for this report?

Need Help from a savvy Digital Oceaner

Posted on June 24, 2015

I am a company owner and we use DO… I just need to learn how to review what was deposited on a Day to Day basis

Happy to pay someone…



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

May I ask what was deposited and where? Are you talking about sales in an online shop?

Thanks Sugar

I am talking about Code being deposited thru the Console and onto the server

Add this to a file, make it executable, then set up a cron for a daily run:

#!/bin/bash
date=$(date)
echo "##################################################" >> /var/log/file_change.log
echo $date >> /var/log/file_change.log
echo "##################################################" >> /var/log/file_change.log
find / -mtime -1 >> /var/log/file_change.log

Adding to cron:

crontab -e

add this line (replacing the file path to the actual path/name)

00 02 * * * /root/file_integrity_monitor.sh

Making exeutable (change path and file name, of course):

chmod +x /root/file_integrity_monitor.sh

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.