RKHunter Cronjob

RKHunter Cronjob
Ans> To set the cron job to receive the daily scan report
pico /etc/cron.daily/rkhunter.sh
Add the following line in above file
#!/bin/bash
(/usr/local/bin/rkhunter -c –cronjob 2>&1 | mail -s “Daily Rkhunter Scan Report” supp0rt24x7@gmail.com)
chmod +x /etc/cron.daily/rkhunter.sh
Thanks