Question

Need Help from a savvy Digital Oceaner

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…

Subscribe
Share

Submit an 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.

Really appreciate your reply Jons

What will this do? Please know I am not that technical…

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

Thanks Sugar

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

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