WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.
!/bin/bash echo "Running test on Squid file" if [ ! -f /var/log/squid3/access.log ]; then echo " No Log file found" sendemail -t firstname.lastname@example.org -m "Missing Squid Log" -f "email@example.com" service squid3 restart fi
sudo crontab -e
* * * * * /home/tcross/testLog.script
ps -ef | grep testLog.scriptWhich gives:-
tcross 31726 31523 0 14:38 pts/0 00:00:00 grep --color=auto testLog.scripWhich apparently tells me that its running under tcross (me).
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.